Open thetamind opened 1 year ago
https://graphql-rules.com/rules/mutation-input-arg
Add required: true option to derive_mutation to make :input argument required.
required: true
derive_mutation
:input
But what effect does required: true have if input_object: false?
input_object: false
Maybe input_object: :required is more cohesive?
input_object: :required
Or a config option to mark all input_objects required project wide such as when enforced by a linting rule.
input_object
https://graphql-rules.com/rules/mutation-input-arg
Add
required: true
option toderive_mutation
to make:input
argument required.But what effect does
required: true
have ifinput_object: false
?Maybe
input_object: :required
is more cohesive?Or a config option to mark all
input_object
s required project wide such as when enforced by a linting rule.