mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-08 23:50:38 +03:00
Merge pull request #821 from danpalmer/patch-3
Fix grammar in error message
This commit is contained in:
commit
c40ce98bb8
|
@ -103,7 +103,7 @@ class IterableConnectionField(Field):
|
|||
|
||||
if is_node(connection_type):
|
||||
raise Exception(
|
||||
"ConnectionField's now need a explicit ConnectionType for Nodes.\n"
|
||||
"ConnectionFields now need a explicit ConnectionType for Nodes.\n"
|
||||
"Read more: https://github.com/graphql-python/graphene/blob/v2.0.0/UPGRADE-v2.0.md#node-connections"
|
||||
)
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ def test_connectionfield_node_deprecated():
|
|||
with pytest.raises(Exception) as exc_info:
|
||||
field.type
|
||||
|
||||
assert "ConnectionField's now need a explicit ConnectionType for Nodes." in str(
|
||||
assert "ConnectionFields now need a explicit ConnectionType for Nodes." in str(
|
||||
exc_info.value
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user