add note about non-functional interfaces meta argument in mutation

This commit is contained in:
Dave A 2019-06-04 19:00:18 -04:00
parent 0bd4d93288
commit e141e43a6f

View File

@ -56,7 +56,8 @@ class Mutation(ObjectType):
name. name.
description (str): the description of the GraphQL type in the schema. Defaults to class description (str): the description of the GraphQL type in the schema. Defaults to class
docstring. docstring.
interfaces (Iterable[graphene.Interface]): GraphQL interfaces to extend with the payload interfaces (Iterable[graphene.Interface]): NOT IMPLEMENTED (use ``output`` to define a
payload implementing interfaces). GraphQL interfaces to extend with the payload
object. All fields from interface will be included in this object's schema. object. All fields from interface will be included in this object's schema.
fields (Dict[str, graphene.Field]): dictionary of field name to Field. Not recommended to fields (Dict[str, graphene.Field]): dictionary of field name to Field. Not recommended to
use (prefer class attributes or ``Meta.output``). use (prefer class attributes or ``Meta.output``).