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

graphql-cost-analysis does not work #634

Closed
omar-dulaimi opened this issue May 25, 2020 · 2 comments
Closed

graphql-cost-analysis does not work #634

omar-dulaimi opened this issue May 25, 2020 · 2 comments

Comments

@omar-dulaimi
Copy link

omar-dulaimi commented May 25, 2020

Hello,
I'm running against the same issue here pa-bru/graphql-cost-analysis#12
Is there a way to handle it with graphql yoga?
since all provided answers are limited to apollo server.

"Argument "data" of required type "TYPE!" was provided the variable "$data" which was not provided a runtime value."

@omar-dulaimi omar-dulaimi changed the title graphql-cost-analysis does not work with mutations graphql-cost-analysis does not work May 26, 2020
@saihaj saihaj mentioned this issue Dec 5, 2021
32 tasks
@ardatan
Copy link
Collaborator

ardatan commented Mar 22, 2022

I think graphql-cost-analysis can be used with Envelop's extended validation plugin right?
@saihaj @n1ru4l

@Urigo
Copy link
Collaborator

Urigo commented Mar 29, 2022

Hey, @Urigo from The Guild here!

You might know us from projects such as graphql-code-generator, envelop or graphql-tools.

For a long time we thought that the Javascript ecosystem is still missing a lightweight cross-platform, but still highly customizable GraphQL Server.

In the past the awesome Prisma team took on that great challenge and now we are happy to announce that we are continuing them and just released GraphQL Yoga 2.0 - Build fast, extensible, and batteries-included (Subscriptions, Serverless, File uploads support) GraphQL APIs in Node.js 🚀

And regarding the issue here, Yoga uses the Envelop plugin system under the hood which has integrations and plugins regarding security.
If any of them is missing for you, please let us know!

We have been working a long time on version 2.0 and have been using it in our clients projects for a few months now and shared a couple of alpha cycles here.
Thank you all for your feedback and suggestions, you made this release possible!

Please try Yoga out again, give us feedback and help us spread the word on the new release!

@Urigo Urigo closed this as completed Mar 29, 2022
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

3 participants