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

Internal cache/context between rules

motiisr opened this issue · comments

Question about GraphQL Shield

Hi :)
How do I share data between rules? for example,
if I have rule that get user from arg.id, and another rule that want the same user, I would prefer to get the user from arg.id one time for all rules instead of one time per rule.
Is there a way to share data between rule?

Thanks

Hey @motiisr 👋,

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! 😄

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.