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

detail expansions #72

Open
geemus opened this issue Mar 31, 2015 · 0 comments
Open

detail expansions #72

geemus opened this issue Mar 31, 2015 · 0 comments

Comments

@geemus
Copy link
Member

geemus commented Mar 31, 2015

We commonly include an envelope containing foreign keys for parent objects. To simplify and avoid n+1 queries, it can often be very useful to ask for those envelopes to be expanded to serialize the entire parent object. We've started experimenting with this at Heroku and I wanted to at least note it here and link to a raw doc around it. I want to let the experiment run a bit longer before I settle on it and include it, but wanted to give some early ideas.

Copy of rough spec here: https://gist.github.com/geemus/6b0d59b5813d765c5267

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

1 participant