File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
packages/plugin/src/rules/require-selections Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @graphql-eslint/eslint-plugin ' : minor
3+ ---
4+
5+ feat(` require-selections ` rule): introduce new option ` requireAllFields ` to require all values of ` fieldName: string[] ` option
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ const schema = {
4444 } ,
4545 requireAllFields : {
4646 type : 'boolean' ,
47+ description : 'Whether all fields of `fieldName` option must be included.'
4748 }
4849 } ,
4950 } ,
Original file line number Diff line number Diff line change @@ -80,6 +80,10 @@ The object must be one of the following types:
8080
8181Default: ` "id" `
8282
83+ ### ` requireAllFields ` (boolean)
84+
85+ Whether all fields of ` fieldName ` option must be included.
86+
8387---
8488
8589# Sub Schemas
You can’t perform that action at this time.
0 commit comments