You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 asskip
orinclude
- but the printer/introspection removes them.The text was updated successfully, but these errors were encountered: