We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f37d147 commit 068c57fCopy full SHA for 068c57f
packages/utils/src/validateWithCustomRules.js
@@ -30,7 +30,10 @@ export function validateWithCustomRules(
30
const {
31
NoUnusedFragments,
32
} = require('graphql/validation/rules/NoUnusedFragments');
33
- const rulesToSkip = [NoUnusedFragments];
+ const {
34
+ ExecutableDefinitions,
35
+ } = require('graphql/validation/rules/ExecutableDefinitions');
36
+ const rulesToSkip = [NoUnusedFragments, ExecutableDefinitions];
37
if (isRelayCompatMode) {
38
39
KnownFragmentNames,
0 commit comments