You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now in src/expansion/node.rs, is the expanded node only contains value entries (i.e. @language or @direction entries), then it is ignored (None is returned and the node is dropped).
It is not clear if this is the correct behavior or not.
Should we throw an error?
Should we keep ignoring it?
The JSON-LD API expansion algorithm only covers the case where the node only contains a @language entry, in which case it is ignored:
If result is a map that contains only the entry @language, return null.
More complex cases are not covered. In the playground, only the d map is dropped.
For now in
src/expansion/node.rs
, is the expanded node only contains value entries (i.e.@language
or@direction
entries), then it is ignored (None
is returned and the node is dropped).It is not clear if this is the correct behavior or not.
The JSON-LD API expansion algorithm only covers the case where the node only contains a
@language
entry, in which case it is ignored:More complex cases are not covered. In the playground, only the
d
map is dropped.The text was updated successfully, but these errors were encountered: