vertexbz / graphql-introspection-filtering

Filter graphql schema introspection result to hide restricted fields and types
MIT License
22 stars 3 forks source link

SchemaDirectiveVisitor has been removed from @graphql-tools/utils #9

Open ztec opened 3 years ago

ztec commented 3 years ago

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

lethak commented 2 years ago

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.

nick4fake commented 1 year ago

Have you found any workarounds?