Update objecttypes.rst

This commit is contained in:
Syrus Akbary 2016-09-28 13:58:39 -07:00 committed by GitHub
parent c9aa461c65
commit cdd4afb79a

View File

@ -121,7 +121,7 @@ Let's see an example:
return self.name
class Query(graphene.ObjectType):
ship = graphene.Field(ShipNode)
ship = graphene.Field(ShipType)
def resolve_ship(self, context, args, info):
return Ship(name='xwing')