Skip to content

Commit dede9a1

Browse files
committed
Fix typo in directive schema introspection description.
1 parent 29f7c8e commit dede9a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graphql/core/type/introspection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
__Directive = GraphQLObjectType(
5555
'__Directive',
56-
description='A Directives provides a way to describe alternate runtime execution and '
56+
description='A Directive provides a way to describe alternate runtime execution and '
5757
'type validation behavior in a GraphQL document.'
5858
'\n\nIn some cases, you need to provide options to alter GraphQL\'s '
5959
'execution behavior in ways field arguments will not suffice, such as '

tests/core_type/test_introspection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ def test_executes_an_introspection_query():
454454
'name': u'__EnumValue',
455455
'possibleTypes': None},
456456
{
457-
'description': u"A Directives provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",
457+
'description': u"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",
458458
'enumValues': None,
459459
'fields': [{'args': [],
460460
'deprecationReason': None,

0 commit comments

Comments
 (0)