You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to see if I could use graphql-shield via the middleware options field in graphql-modules, but that did not seem to work. The resolversComposition options seem like a good place to make it work as well, but graphql-shield is really set up to be used as middleware. Any tips on how to make it work? I can alway use the permissions at the top when I instantiate the server, but would rather the permissions be co-located with the resolvers in the module.
The text was updated successfully, but these errors were encountered:
I tried to see if I could use
graphql-shield
via the middleware options field ingraphql-modules
, but that did not seem to work. TheresolversComposition
options seem like a good place to make it work as well, butgraphql-shield
is really set up to be used as middleware. Any tips on how to make it work? I can alway use the permissions at the top when I instantiate the server, but would rather the permissions be co-located with the resolvers in the module.The text was updated successfully, but these errors were encountered: