maticzav / graphql-shield

🛡 A GraphQL tool to ease the creation of permission layer.

Home Page:https://graphql-shield.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graphql shield applied to one part of the schema

btodorce opened this issue · comments

commented

Question about GraphQL Shield

Brief summary, our schema is separated into 2 different types, autogenerated simple crud resolvers and custom resolvers.
We are using Graphql shield to create authorization as a default set of rules a for all the the autogenerated part of the schema.
But thats causing issue since those rules get applied to our entire schema and we have to exclude all custom resolvers manually inside the file.

Would it be possible to apply graphql shield to only one part of our schema file

Hey @btodorce 👋,

Thank you for opening an issue. We will get back to you as soon as we can. Have you seen our Open Collective page? Please consider contributing financially to our project. This will help us involve more contributors and get to issues like yours faster.

https://opencollective.com/graphql-shield

We offer priority support for all financial contributors. Don't forget to add priority label once you become one! 😄

+1 if this feature is added.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.