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

Feature: Support for concurrent queries on Local Dev Server #103

Closed
Tenrys opened this issue Feb 1, 2023 · 3 comments · Fixed by #106
Closed

Feature: Support for concurrent queries on Local Dev Server #103

Tenrys opened this issue Feb 1, 2023 · 3 comments · Fixed by #106
Assignees
Labels
is: bug Something isn't working package: server Server package
Milestone

Comments

@Tenrys
Copy link
Contributor

Tenrys commented Feb 1, 2023

I was trying to run two queries at once, and noticed that the dev server was only returning data for one of them, the other one simply returning "null".

image

image

@maoosi
Copy link
Owner

maoosi commented Feb 2, 2023

@Tenrys I've been working with GraphQL for years on dozen projects... And I actually had no idea you could run multiple queries at once this way 😄

I'll add it to the Roadmap and will have to dig around a bit to figure out how to fix this. Does it work fine when running multiple queries at once directly on AWS AppSync?

@maoosi maoosi added is: bug Something isn't working package: server Server package labels Feb 2, 2023
@Tenrys
Copy link
Contributor Author

Tenrys commented Feb 2, 2023

Does it work fine when running multiple queries at once directly on AWS AppSync?

Yes, it does. It's easy to test this by adding multiple queries at once by expanding them on the AppSync query explorer, and with GraphQL Yoga.

@maoosi maoosi changed the title Dev server: Only the first top level query / mutation gets resolved Feature: Support for concurrent queries on Local Dev Server Feb 6, 2023
@maoosi maoosi linked a pull request Feb 6, 2023 that will close this issue
@maoosi
Copy link
Owner

maoosi commented Feb 6, 2023

Will be released as part of 1.0.0-rc.6 (you can also try it now with [email protected]).

@maoosi maoosi closed this as completed Feb 6, 2023
@maoosi maoosi added this to the 1.0.0-rc.6 milestone Feb 6, 2023
@maoosi maoosi self-assigned this Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: bug Something isn't working package: server Server package
Projects
Status: Released
Development

Successfully merging a pull request may close this issue.

2 participants