Code Monkey home page Code Monkey logo

Comments (6)

gkellogg avatar gkellogg commented on September 22, 2024

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.

from json-ld-framing.

Fak3 avatar Fak3 commented on September 22, 2024

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?

from json-ld-framing.

iherman avatar iherman commented on September 22, 2024

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
View the transcript omit graph example
Rob Sanderson: #88
Gregg Kellogg: The issuer pointed out that we are using double negation, as omitGraph true is the default.
… It made more sense in 1.0. But now the default value is reversed.
… We could rename it in 1.1.
Rob Sanderson: We probably don’t want to rename it to includeGraph?
Proposed resolution: Update examples 4 & 5 in Framing to be instructive as well as correct (Rob Sanderson)
Rob Sanderson: We should update the examples in framing to be more instructive.
… This is just editorial.
Proposed resolution: Update examples 4 & 5 in Framing to be instructive as well as correct and close when updated (Rob Sanderson)
Ivan Herman: +1
Rob Sanderson: +1
Tim Cole: +1
Ruben Taelman: +1
Jeff Mixter: +1
Adam Soroka: +1
Pierre-Antoine Champin: +1
Gregg Kellogg: +1
Resolution #3: Update examples 4 & 5 in Framing to be instructive as well as correct and close when updated

from json-ld-framing.

gkellogg avatar gkellogg commented on September 22, 2024

@Fak3, please see updated text in PR #91. Please indicate if this satisfies your issue.

from json-ld-framing.

Fak3 avatar Fak3 commented on September 22, 2024

Yes, this resolves the issue, thanks

from json-ld-framing.

gkellogg avatar gkellogg commented on September 22, 2024

Reopened for WG to dispose of.

from json-ld-framing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.