Skip to content
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

Support included in create/updates #7

Open
ttrmw opened this issue Nov 6, 2017 · 1 comment
Open

Support included in create/updates #7

ttrmw opened this issue Nov 6, 2017 · 1 comment

Comments

@ttrmw
Copy link

ttrmw commented Nov 6, 2017

The resource parser currently ensure!s that data is the only top level key:

Document.ensure!(document.keys == ['data'].freeze &&

but the spec does not require this. There also appears to be a bunch of discussion around sideposting and the use of included to define resources for sideposting, eg json-api/json-api#1197, so I guess this will be required eventually.

@beauby
Copy link
Member

beauby commented Jun 13, 2018

This has been on my radar for a while, but I'll wait until sideposting is fully spec'ed before changing the lib.

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

No branches or pull requests

2 participants