Closed Fak3 closed 4 years ago
Yes, this needs to be updated. The omitGraph flag defaults to true in 1,1 mode, which is the default. Set it to false to get the @graph
back, or use the 1.0 processor mode for the implied false value.
Btw, I find the name of the flag a bit complicated to understand because of double-negation. I.e. in my mind "omit" means "don't include", and I always have to perform this mental exercise to parse 'don't include graph is False' into 'include graph'. Does anyone feels the same nuisance? Would it help to rename it to includeGraph
?
This issue was discussed in a meeting.
RESOLVED: Update examples 4 & 5 in Framing to be instructive as well as correct and close when updated
@Fak3, please see updated text in PR #91. Please indicate if this satisfies your issue.
Yes, this resolves the issue, thanks
Reopened for WG to dispose of.
The spec at https://github.com/w3c/json-ld-framing/blob/master/index.html#L639 says:
But the output given in the example 4 (Framed library objects) and example 5 (Framed library objects with omitGraph set to false) are exactly the same, making it difficult to understand what the omit graph flag is for.