This pr adds a doc page and an example of implementing a custom directive.
After a few iterations, to keep this example compact and avoid working with the AST, I decided to use two libraries, @graphql-tools/schema and @graphql-tools/utils.
I also added some comments in the example file, but I am unsure whether to keep them.
This pr adds a doc page and an example of implementing a custom directive. After a few iterations, to keep this example compact and avoid working with the AST, I decided to use two libraries,
@graphql-tools/schema
and@graphql-tools/utils
.I also added some comments in the example file, but I am unsure whether to keep them.
closes #874