Skip to content

Commit

Permalink
backport[v16]: Introduce "recommended" validation rules (#4119)
Browse files Browse the repository at this point in the history
Co-authored-by: enisdenjo <denis@denelop.com>
Co-authored-by: Denis Badurina <badurinadenis@gmail.com>
  • Loading branch information
3 people committed Jun 21, 2024
1 parent 08779a0 commit c985c27
Show file tree
Hide file tree
Showing 5 changed files with 659 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 @@ -339,6 +339,7 @@ export {
ValidationContext,
// All validation rules in the GraphQL Specification.
specifiedRules,
recommendedRules,
// Individual validation rules.
ExecutableDefinitionsRule,
FieldsOnCorrectTypeRule,
Expand Down Expand Up @@ -366,6 +367,7 @@ export {
ValuesOfCorrectTypeRule,
VariablesAreInputTypesRule,
VariablesInAllowedPositionRule,
MaxIntrospectionDepthRule,
// SDL-specific validation rules
LoneSchemaDefinitionRule,
UniqueOperationTypesRule,
Expand Down
Loading

0 comments on commit c985c27

Please sign in to comment.