Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to use Fragments and post-execution rules with the single server/schema #1478

Open
Tracked by #1485
dimatill opened this issue Oct 28, 2022 · 0 comments
Milestone

Comments

@dimatill
Copy link
Collaborator

https://www.the-guild.dev/graphql/shield/docs/advanced/fragments

Some options:

  • Simply wrap the schema to create a proxy schema and assign rules to the proxy schema. In such a way all rules assigned to non-root fields will be executed after resolvers of the original schema.
  • Hook contextual rules to the original schema; Hook rules that depend on the parent to the proxy schema to have an ability to use Fragments.
@dimatill dimatill added this to the v8 milestone Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant