From cc54c76a3e673922e2436d335dae17d0ddbbce33 Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Sun, 17 Jun 2018 12:05:34 +0100 Subject: [PATCH] Improve wording --- docs/types/interfaces.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/types/interfaces.rst b/docs/types/interfaces.rst index a8d06b9a..21cf2173 100644 --- a/docs/types/interfaces.rst +++ b/docs/types/interfaces.rst @@ -142,10 +142,11 @@ And different data with the variables ``{ "episode": 5 }``: Resolving data objects to types ------------------------------- -As you build out your schema in Graphene it is common for your resolvers to +As you build out your schema in Graphene it's common for your resolvers to return objects that represent the data backing your GraphQL types rather than -instances of the Graphene types (e.g. Django or SQLAlchemy models). However -when you start using Interfaces you might come across this error: +instances of the Graphene types (e.g. Django or SQLAlchemy models). This works +well with ``ObjectType`` and ``Scalar`` fields, however when you start using +Interfaces you might come across this error: .. code::