Skip to content

Commit

Permalink
Solve bracketing problem, omit that
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Jul 20, 2023
1 parent 9cff863 commit f1a3b34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/type/directives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export const GraphQLSpecifiedByDirective: GraphQLDirective =
export const GraphQLOneOfDirective: GraphQLDirective = new GraphQLDirective({
name: 'oneOf',
description:
'Indicates that exactly one field must be supplied and not `null`.',
'Indicates exactly one field must be supplied and this field must not be `null`.',
locations: [DirectiveLocation.INPUT_OBJECT],
args: {},
});
Expand Down
4 changes: 3 additions & 1 deletion src/utilities/__tests__/printSchema-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,9 @@ describe('Type System Printer', () => {
url: String!
) on SCALAR
"""Indicates that exactly one field must be supplied and not \`null\`."""
"""
Indicates exactly one field must be supplied and this field must not be \`null\`.
"""
directive @oneOf on INPUT_OBJECT
"""
Expand Down

0 comments on commit f1a3b34

Please sign in to comment.