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

graphql.omit will drop types, but you might need the types for a .sudo context #8547

Open
dcousens opened this issue May 4, 2023 · 0 comments
Labels
🐛 bug Unresolved bug

Comments

@dcousens
Copy link
Member

dcousens commented May 4, 2023

As seen in #8357, if you use graphql.omit, the types will be removed from your GraphQL schema, but that schema is not the same as your .sudo GraphQL schema, but now you're missing the types.

The types for .sudo need to be different.

@dcousens dcousens added the 🐛 bug Unresolved bug label May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Unresolved bug
Projects
None yet
Development

No branches or pull requests

1 participant