Skip to content

why no examples of envelop with graphql-yoga #1454

Answered by n1ru4l
ethdev279 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @ethdev279, GraphQL Yoga already has envelop built-in. All you need to do is pass your plugins to the plugins option in yoga.
This is documented on our Yoga docs.

You can find an example using envelop useGenericAuth and yoga here.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by n1ru4l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants