-
Notifications
You must be signed in to change notification settings - Fork 301
Document include options for Compound Documents #256
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
Comments
Looking at this a couple tweaks might make it more clear what the various options do.
Any thoughts from people? |
In the spec TLDR; I would lean toward keeping both names the same as they are now. |
Yeah forgot that the returned key was |
I think it's also worth explicitly documenting how to include relationships more than 1 level deep e.g.
This is part of the spec, but it wasn't clear to me how it was supported until I walked through If I have time later this week, I'll try to open a documentation PR (since I'll be documenting this internally for my team anyway). |
@chrisclark did you get around to documenting this internally? If so we'd love to merge a PR 😄 |
Since this was still open, I took a crack at documenting it in PR #308. |
Thanks for this. I had to find this post to make sense of included records. It would be great to get some official documentation for this. It's a common pattern for sideloading data in Ember for example |
I think #308 has already addressed this issue. Closing it therefore, but if something is still not clear in the documentation please comment. |
With #250 pulled in we now have options to include relations to form compound documents:
Example Current Implementation
posts
posts
We should probably document this. We can even copy the examples above with a bit of explanation.
The text was updated successfully, but these errors were encountered: