keystone icon indicating copy to clipboard operation
keystone copied to clipboard

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

Open dcousens opened this issue 2 years ago • 0 comments

As seen in https://github.com/keystonejs/keystone/pull/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 avatar May 04 '23 08:05 dcousens