Skip to content

Range merging

Problem

Original issue: stuff is not getting merged beyond depth 1

The page http://localhost:8080/articles/ should display the article Hello World and Bye World but only displays Hello World The page http://localhost:8080/authors/ should display the authors Luca Casonato and Jaap Aarts but only displays Luca Casonato

The authors are there: http://localhost:8080/authors/luca/ && http://localhost:8080/authors/jaap/ but again only the last article is displayed

Same with articles: they are there: http://localhost:8080/articles/hello-world/ && http://localhost:8080/articles/bye-world/ but are not both are displayed in the overview

Solution 1

Deep merge the range data. This is probably possible, although it will slower than not doing it obv.

Solution 2

Be able to use data post processors after a range is fully complete: ([range:article][file_file:data/articles/{{article}}][json_json][util_prefix:{{article}}])[util_prefix:articles]

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information