ardatan / graphql-mesh

🕸️ GraphQL Federation Framework for any API services such as REST, OpenAPI, Swagger, SOAP, gRPC and more...
https://the-guild.dev/graphql/mesh
MIT License
3.29k stars 345 forks source link

`Must provide query string.` should not be an error with APQ #6998

Open SivkovSavely opened 5 months ago

SivkovSavely commented 5 months ago

Linked from: https://github.com/dotansimha/graphql-yoga/issues/3284

I need to support APQs in Mesh. For this I've added the useAPQ Envelop plugin from Yoga. The request passes through when I have a query parameter in the body but it doesn't pass when I don't have query even if I have APQ's extension parameter.

Here is the reproduction repository: https://github.com/SivkovSavely/api-gate-mvp-repro

ardatan commented 1 week ago

Could you try it with the latest version? Sorry for the late response.