specifiedSDLRules top-level constant
Default schema validation rules from the GraphQL specification
Implementation
const specifiedSDLRules = <SDLValidationRule>[
loneSchemaDefinitionRule,
uniqueOperationTypesRule,
uniqueTypeNamesRule,
uniqueEnumValueNamesRule,
uniqueFieldDefinitionNamesRule,
uniqueArgumentDefinitionNamesRule,
uniqueDirectiveNamesRule,
knownTypeNamesRule,
knownDirectivesRule,
uniqueDirectivesPerLocationRule,
possibleTypeExtensionsRule,
knownArgumentNamesOnDirectivesRule,
uniqueArgumentNamesRule,
uniqueInputFieldNamesRule,
providedRequiredArgumentsOnDirectivesRule,
// TODO: 3I valuesOfCorrectTypeRule https://github.com/graphql/graphql-js/issues/3222
implementInterfaceOnceRule,
];