diff --git a/docs/types/mutations.rst b/docs/types/mutations.rst index ffa5a3e2..70c80d0a 100644 --- a/docs/types/mutations.rst +++ b/docs/types/mutations.rst @@ -24,7 +24,7 @@ This example defines a Mutation: ok = True return CreatePerson(person=person, ok=ok) -**person** and **ok** are the output fields of the Mutation when is +**person** and **ok** are the output fields of the Mutation when it is resolved. **Input** attributes are the arguments that the Mutation diff --git a/docs/types/objecttypes.rst b/docs/types/objecttypes.rst index 091617ce..69c8c08a 100644 --- a/docs/types/objecttypes.rst +++ b/docs/types/objecttypes.rst @@ -50,7 +50,7 @@ A resolver is a method that resolves certain fields within a ``ObjectType``. If not specififed otherwise, the resolver of a field is the ``resolve_{field_name}`` method on the ``ObjectType``. -By default resolvers take the arguments ``args``, ``context`` and ``info``. +By default resolvers take the arguments ``info`` and ``*args``. NOTE: The resolvers on a ``ObjectType`` are always treated as ``staticmethod``\ s, so the first argument to the resolver method ``self`` (or ``root``) need