maoosi / prisma-appsync

⚡ Turns your ◭ Prisma Schema into a fully-featured GraphQL API, tailored for AWS AppSync.

Home Page:https://prisma-appsync.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature: Support for concurrent queries on Local Dev Server

Tenrys opened this issue · comments

commented

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

@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?

commented

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.

Will be released as part of 1.0.0-rc.6 (you can also try it now with prisma-appsync@1.0.0-preview.6.7).