-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Labels
process/candidateCandidate for next Milestone.Candidate for next Milestone.
Description
Is your feature request related to a problem? Please describe.
When using the require-id-when-available
rule with passing an array of field names, the rule passes if one of the field names exists in the selection set. I want that all of them should exist in the selection set (all given fields are required if the fields are defined on a type).
Describe the solution you'd like
Add configuration option which treating the given fields as all required.
Describe alternatives you've considered
Additional context
Migration from apollographql/eslint-plugin-graphql
's required-fields
rule (migration to graphql-eslint
is suggested in the README). That rule's behavior is desirable for us.
kouki-dan, dotansimha, dimaMachina, hiramatsutaku, sandiiarov and 1 moredotansimha and dimaMachina
Metadata
Metadata
Assignees
Labels
process/candidateCandidate for next Milestone.Candidate for next Milestone.