Schema missing custom directives when using loadSchemaSync #3055
Unanswered
z-zainuddin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using
loadSchemaSync
to load a schema file, custom directives are missing fromloadSchemaSync
output schema.Given the following
schema.gql
file, defaultdeprecated
directive and customupper
are defined in the schema.However, the schema output from
loadSchemaSync
only contain thedeprecated
directive but missing theupper
directive as follows.Here is the
loadSchemaSync
code.What could be the issue here?
Beta Was this translation helpful? Give feedback.
All reactions