Comments (7)
This issue was discussed in a meeting.
RESOLVED: Keep #37 open for @omit-graph
View the transcript
3.1. Keywords for optionsSimon Steyskal: #37
Rob Sanderson: ivan asks why there isn’t a keyword for all the different options
Ivan Herman: I realized by reading through the document that certain options appeared as keywords
… others don’t
Gregg Kellogg: I think there are if you look at the syntax tokens
Gregg Kellogg: https://w3c.github.io/json-ld-framing/#framing-keywords
Ivan Herman: not sure I remember reading this
Gregg Kellogg: we very well may have examples that don’t use all the keywords
Rob Sanderson: > Initialize flags embed, explicit, and requireAll from object embed flag, explicit inclusion flag, and require all flag in state overriding from any property values for @embed, @explicit, and @requireAll in frame.
Ivan Herman: yeah the examples in the syntax document were way more extensive
Dave Longley: was just going to say our implementation has those flags in there (and there may be tests as well… at least i hope so) :)
Gregg Kellogg: my thought initially was that framing would eventually be incorporated in the API document
… but we decided to leave it in a sep. doc
… so there’s a backlog of things that have to happen to the document
Tim Cole: Does 4.1 include @omit-graph?
Ivan Herman: clearly, if we add more examples to the document then this should fix it
Proposed resolution: Close Framing #37, as already fixed (Rob Sanderson)
Gregg Kellogg: there is an open issue I’m working against
Rob Sanderson: +1
Pierre-Antoine Champin: +1
Gregg Kellogg: no it’s in 4.4.3.3
Benjamin Young: is it a keyword? or an option for the api?
Gregg Kellogg: well we have keywords for all the options
Proposed resolution: Keep #37 open for @omit-graph (Rob Sanderson)
Simon Steyskal: +1
Ivan Herman: +1
Rob Sanderson: +1
Tim Cole: +1
Benjamin Young: +1
Dave Longley: +1 … naming convention appears to be camelCase so @omitDefault
Gregg Kellogg: +1
Gregg Kellogg: values can have multiple elements (array) part of the reason why this complicates native json support
David I. Lehn: +1
David Newbury: +1
Resolution #2: Keep #37 open for @omit-graph
from json-ld-framing.
I'm not sure @omitGraph
would be particularly useful, as it is only useful at the very top-level and the algorithm doesn't consider it as a possible default when processing a frame object.
Note that it defaults to true
in 1.1, which is probably what most people want. Adding it to the frame is kind of odd, though.
from json-ld-framing.
True. But I guess it would require more explanation to describe why this (or other) API flag does not have a keyword equivalent... Furthermore, by using this keyword (and others) the creator of a frame ensures that this statement is always there, regardless of how a particular JSON-LD processor is invoked, ie, how the API flags are set...
from json-ld-framing.
See #41, which would remove @omitDefault
while possibly keeping the flag.
In the case of the omit graph flag, it is never encountered when processing a frame, and it would require something extra to reach into the frame to see if this had been set. The default in 1.1 is to omit it, and the flag mostly exists to be able to explicitly go back to the 1.0 behavior.
from json-ld-framing.
So we can close?
from json-ld-framing.
Closed by resolution: https://www.w3.org/2018/json-ld-wg/Meetings/Minutes/2019/2019-03-29-json-ld#resolution4
from json-ld-framing.
This issue was discussed in a meeting.
RESOLVED: Close #37, only edge edge cases when there is disparity
View the transcript
4.5. Keywords / FlagsIvan Herman: link: #37
Rob Sanderson: would we have complete parity between keywords and flags?
Proposed resolution: Close #37, only edge cases when there is disparity (Rob Sanderson)
Rob Sanderson: +1
Ivan Herman: we have the parity for most of them;
Ivan Herman: +1
Dave Longley: +1
Ruben Taelman: +1
Gregg Kellogg: +1
Tim Cole: +1
Ivan Herman: those were we don’t are edge cases, so I’m fine with closing it
Pierre-Antoine Champin: +1
David Newbury: +1
David I. Lehn: +1
Resolution #4: Close #37, only edge edge cases when there is disparity
Adam Soroka: +1
from json-ld-framing.
Related Issues (20)
- Should tests for `@embed`: `@last` be restricted to JSON-LD 1.0? HOT 4
- Framing and Arrays HOT 4
- Ex. 41 Playground doesn't contain `@omitGraph: false` + playground does not apply `@omitGraph` HOT 3
- Pattern Matching HOT 4
- Can frames produce id maps? HOT 2
- Possible typos HOT 2
- Use a property several time when framing HOT 1
- validation errors/warnings HOT 1
- Language map with global context HOT 1
- IANA profile should be `frame` not `framed` HOT 5
- how to use the `frame` and `framed` profiles? HOT 12
- Fix invalid WebIDL HOT 1
- Change "Lexicographical Order" (and related) to "Unicode code point order". HOT 1
- Possible bug with `@json` being treated as invalid `type` in frame HOT 24
- How to use specific value inside a frame to filter out credentials those do not contain that value
- Framing on nested graphs
- Add test for `@graph` keyword aliasing
- more JSON-LD framed examples for performance testing
- Type Coercion / Node Conversion HOT 3
- Need tests for: Framing matches on specified value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-ld-framing.