diff --git a/docs/types/objecttypes.rst b/docs/types/objecttypes.rst index 73526018..887e86c9 100644 --- a/docs/types/objecttypes.rst +++ b/docs/types/objecttypes.rst @@ -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')