Skip to content

Ability to merge queries #389

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

Closed
kevinbarabash opened this issue Dec 13, 2016 · 3 comments
Closed

Ability to merge queries #389

kevinbarabash opened this issue Dec 13, 2016 · 3 comments

Comments

@kevinbarabash
Copy link

I have some JSON blobs on my server that contain data for different modular components that I'm rendering. Which components I render depends on which blobs of data get sent down. I'd like to be able to merge that data together to dedupe it and only send the names of the components and the deduped data. I was thinking that GraphQL might make sense, but there doesn't seem to be any way to merge queries using Graphene. I'd appreciate any suggestions you might have about how to go about merging queries.

@angieellis
Copy link

@kevinbarabash This seems to be a prevalent concern in the GraphQL community right now. Many GraphQL libraries don't support batch querying or merging queries. There is a library in Javascript that provides this functionality (https://github.com/stems/join-monster), but none that I know of in Python. This is definitely something I would like to see as well.

@bforchhammer
Copy link

I had a similar problem (see #358 (comment)), maybe that also works for you...

@jkimbo
Copy link
Member

jkimbo commented Feb 17, 2018

Hi @kevinbarabash . We're currently going through old issues that appear to have gone stale (ie. not updated in about the last 6 months) to try and clean up the issue tracker. If this is still important to you please comment and we'll re-open this.

Thanks!

@jkimbo jkimbo closed this as completed Feb 17, 2018
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

4 participants