Skip to content

Commit f1a3b34

Browse files
committed
Solve bracketing problem, omit that
1 parent 9cff863 commit f1a3b34

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-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 not `null`.',
256+
'Indicates exactly one field must be supplied and this field must not be `null`.',
257257
locations: [DirectiveLocation.INPUT_OBJECT],
258258
args: {},
259259
});

src/utilities/__tests__/printSchema-test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,9 @@ describe('Type System Printer', () => {
795795
url: String!
796796
) on SCALAR
797797
798-
"""Indicates that exactly one field must be supplied and not \`null\`."""
798+
"""
799+
Indicates exactly one field must be supplied and this field must not be \`null\`.
800+
"""
799801
directive @oneOf on INPUT_OBJECT
800802
801803
"""

0 commit comments

Comments
 (0)