Skip to content

Commit f74823a

Browse files
committed
Simplify wording
1 parent 717bc21 commit f74823a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/type/directives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export const GraphQLSpecifiedByDirective: GraphQLDirective =
253253
export const GraphQLOneOfDirective: GraphQLDirective = new GraphQLDirective({
254254
name: 'oneOf',
255255
description:
256-
'Indicates that exactly one field must be supplied and that field must not be `null`.',
256+
'Indicates that exactly one field must be supplied and not `null`.',
257257
locations: [DirectiveLocation.INPUT_OBJECT],
258258
args: {},
259259
});

src/utilities/__tests__/printSchema-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ describe('Type System Printer', () => {
796796
) on SCALAR
797797
798798
"""
799-
Indicates that exactly one field must be supplied and that field must not be \`null\`.
799+
Indicates that exactly one field must be supplied and not \`null\`.
800800
"""
801801
directive @oneOf on INPUT_OBJECT
802802

0 commit comments

Comments
 (0)