Open ztec opened 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.
SchemaDirectiveVisitor
The new way to declare directives is to use mapSchema. https://www.graphql-tools.com/docs/schema-directives#implementing-schema-directives
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.
Have you found any workarounds?
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