Since GraphQL schema allows custom directives, it shouldn't display an error when a query contains a reference to a custom directive that's defined on the schema.
See:
|
if (badDirectives.length) { |
|
console.error('Found some unknown directives:'); |
|
badDirectives.forEach(d => console.error(d.name.value)); |
|
} |
Since GraphQL schema allows custom directives, it shouldn't display an error when a query contains a reference to a custom directive that's defined on the schema.
See:
gql2ts/packages/from-query/src/index.ts
Lines 155 to 158 in b65ff51