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

Dealing with large numbers of relations #273

Open
gnewton opened this issue Nov 22, 2016 · 1 comment
Open

Dealing with large numbers of relations #273

gnewton opened this issue Nov 22, 2016 · 1 comment
Labels

Comments

@gnewton
Copy link

gnewton commented Nov 22, 2016

I have a scenario where I have an item with many (like 10s of thousands) relations. I do want them exposed, but not all in one GET as that would be a huge payload. Is there a way to do this using this library? Actually, is this possible in the jsonapi (I know, not really your problem). From what I see, this cannot be captured with any sort of paging that jsonapi offers....

Thanks,
Glen

@sharpner
Copy link
Member

There was a draft for a bulk extension IIRC https://github.com/json-api/json-api/blob/9c7a03dbc37f80f6ca81b16d444c960e96dd7a57/extensions/index.md

But they are in the process of rewriting this so no support at the moment...

There is always the possibility to simply set the field with the relations to ignore. But do you need those relations later on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants