require-nullable-fields-with-oneof
Require `input` or `type` fields to be non-nullable with `@oneOf` directive.
Require `input` or `type` fields to be non-nullable with `@oneOf` directive.
Schema@graphql-eslint/require-nullable-fields-with-oneoffalse ℹ️false ℹ️Require input or type fields to be non-nullable with @oneOf directive.
# eslint @graphql-eslint/require-nullable-fields-with-oneof: 'error'
input Input @oneOf {
foo: String!
b: Int
}# eslint @graphql-eslint/require-nullable-fields-with-oneof: 'error'
input Input @oneOf {
foo: String
bar: Int
}