Skip to content

Update framing algorithm to use embedded flag in _framing state_ #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 1, 2019

Conversation

gkellogg
Copy link
Member

@gkellogg gkellogg commented Aug 30, 2019

... defaulting to false, and set to true when recursing into node objects. Add tests to not add node at top level if embedded is false and it has already been serialized, and also use the check on @embed: @never to make that happen only when in an embedded node object.

Update test g010 to not use @type in framing.

For #27.


Preview | Diff

…efaulting to false, and set to true when recursing into node objects. Add tests to not add node at top level if embedded is false and it has already been serialized, and also use the check on `@embed: @never` to make that happen only when in an embedded node object.

Update test g010 to not use `@type` in framing.

For #27.
@gkellogg gkellogg requested a review from dlongley August 30, 2019 22:41
@gkellogg
Copy link
Member Author

This does not address the issue in compacting where values of a property with @container: @graph could be mis-serialized, either requiring the use of @included, or to not select that term unless there is just a single node object at the top of the graph.

@gkellogg gkellogg merged commit 87fba44 into master Sep 1, 2019
@gkellogg gkellogg deleted the issue-27 branch September 1, 2019 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants