-
As you guys mention graphql-yoga is your recommended graphql server, I'm quite surprised to see that there are no examples specific to yoga in the examples folder or your documentation. we need examples of using envelop's generic auth, public and private schema based on authentication, and examples of other plugins too. One more thing, for beginners like me, it's not clear where to use this P.S: more examples on yoga+envelop and yoga+shield
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @ethdev279, GraphQL Yoga already has envelop built-in. All you need to do is pass your plugins to the plugins option in yoga. You can find an example using envelop |
Beta Was this translation helpful? Give feedback.
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.