Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Expansion test t0004 seems to expect the value from the recursive expansion call in 126.96.36.199 to be an array, but it's coming back (from Value Expansion) as a map. This seems related to #299 which would have ensured that the value coming back form the recursive call was an array.
If t0004 represents the expected behavior, does 188.8.131.52 need to duplicate some of the post-processing that #299 moved into the JsonLdProcessor API?
The result of 184.108.40.206 is, indeed, a map of the form
It is only at the outer level that the API algorithm comes in to place to make sure that the value of there outermost map gets wrapped in an array. Values of properties always get represented as arrays due to 13.14.2.
I don't see how 13.14.2 helps here. I believe in this case, the value it will be appending to a list is:
The list being appended to is
But the test is expecting this:
I think the list introduced in 13.14.2 is operating at the wrong level. It needs to happen somewhere between the value being set to