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

feat(graphql): Allow interceptors on field resolvers #3285

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mschipperheyn
Copy link
Collaborator

Description

Allows you to use graphql interceptors on field resolvers. This is by default possible for Queries and Mutations. However, in order for this to work for field resolver, an additional setting is necessary.

Current workaround for some scenarios would be to use a guard.

Breaking changes

No

Screenshots

Checklist

📌 Always:

  • [x ] I have set a clear title
  • [ x] My PR is small and contains a single feature
  • [x ] I have checked my own PR

👍 Most of the time:

  • I have added or updated test cases
  • I have updated the README if needed

Copy link

vercel bot commented Dec 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Dec 20, 2024 6:59pm

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

Successfully merging this pull request may close these issues.

1 participant