Skip to content

Commit 9da46e8

Browse files
authored
Merge pull request #770 from boidolr/master
Update documentation
2 parents c102458 + 5c4736e commit 9da46e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/types/mutations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This example defines a Mutation:
2424
ok = True
2525
return CreatePerson(person=person, ok=ok)
2626
27-
**person** and **ok** are the output fields of the Mutation when is
27+
**person** and **ok** are the output fields of the Mutation when it is
2828
resolved.
2929

3030
**Input** attributes are the arguments that the Mutation

docs/types/objecttypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ A resolver is a method that resolves certain fields within a
5050
``ObjectType``. If not specififed otherwise, the resolver of a
5151
field is the ``resolve_{field_name}`` method on the ``ObjectType``.
5252

53-
By default resolvers take the arguments ``args``, ``context`` and ``info``.
53+
By default resolvers take the arguments ``info`` and ``*args``.
5454

5555
NOTE: The resolvers on a ``ObjectType`` are always treated as ``staticmethod``\ s,
5656
so the first argument to the resolver method ``self`` (or ``root``) need

0 commit comments

Comments
 (0)