Skip to content

Commit

Permalink
Introduce "recommended" validation rules (#4118)
Browse files Browse the repository at this point in the history
Co-authored-by: enisdenjo <[email protected]>
Co-authored-by: enisdenjo <[email protected]>
  • Loading branch information
3 people authored Jun 21, 2024
1 parent e160b6f commit 2744f58
Show file tree
Hide file tree
Showing 5 changed files with 660 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ export {
ValidationContext,
// All validation rules in the GraphQL Specification.
specifiedRules,
recommendedRules,
// Individual validation rules.
ExecutableDefinitionsRule,
FieldsOnCorrectTypeRule,
Expand Down Expand Up @@ -382,6 +383,7 @@ export {
ValuesOfCorrectTypeRule,
VariablesAreInputTypesRule,
VariablesInAllowedPositionRule,
MaxIntrospectionDepthRule,
// SDL-specific validation rules
LoneSchemaDefinitionRule,
UniqueOperationTypesRule,
Expand Down
Loading

0 comments on commit 2744f58

Please sign in to comment.