Closed
Description
Trying to understand why my custom GraphQL directives are stripped when printSchema
is executed (also using ``).
Found this line of code (isSpecDirective
):
graphql-js/src/utilities/schemaPrinter.js
Lines 33 to 43 in 4f5e351
Is there a reason for removing custom directives? I understand the @deprecated
is a special directive and it effects more than just the docs, but I want to implement a custom directive such as skip
or include
- but the printer/introspection removes them.
Metadata
Metadata
Assignees
Labels
No labels