maticzav/graphql-shield

Internal cache/context between rules

motiisr opened this issue · 2 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! 😄

stale 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.