graphql-introspection-filtering icon indicating copy to clipboard operation
graphql-introspection-filtering copied to clipboard

SchemaDirectiveVisitor has been removed from @graphql-tools/utils

Open ztec opened this issue 3 years ago • 2 comments

On this PR, https://github.com/ardatan/graphql-tools/pull/3081 SchemaDirectiveVisitor has been removed. This make complicated to use Graphql-tools/utils in the latest version with your component.

The new way to declare directives is to use mapSchema. https://www.graphql-tools.com/docs/schema-directives#implementing-schema-directives

ztec avatar Sep 01 '21 10:09 ztec

I am looking to hide schema-side only directives from introspection

This is a wonderful package but not working with the latest versions as explained above.

lethak avatar Sep 06 '22 11:09 lethak

Have you found any workarounds?

nick4fake avatar Nov 29 '22 22:11 nick4fake