@@ -44,7 +44,7 @@ There are some cases where the schema cannot access all of the types that we pla
4444For example, when a field returns an ``Interface ``, the schema doesn't know about any of the
4545implementations.
4646
47- In this case, we need to use the ``types `` argument when creating the Schema.
47+ In this case, we need to use the ``types `` argument when creating the Schema:
4848
4949
5050.. code :: python
@@ -63,20 +63,18 @@ By default all field and argument names (that are not
6363explicitly set with the ``name `` arg) will be converted from
6464``snake_case `` to ``camelCase `` (as the API is usually being consumed by a js/mobile client)
6565
66- For example with the ObjectType
66+ For example with the ObjectType the `` last_name `` field name is converted to `` lastName ``:
6767
6868.. code :: python
6969
7070 class Person (graphene .ObjectType ):
7171 last_name = graphene.String()
7272 other_name = graphene.String(name = ' _other_Name' )
7373
74- the ``last_name `` field name is converted to ``lastName ``.
75-
7674 In case you don't want to apply this transformation, provide a ``name `` argument to the field constructor.
7775``other_name `` converts to ``_other_Name `` (without further transformations).
7876
79- Your query should look like
77+ Your query should look like:
8078
8179.. code ::
8280
@@ -86,7 +84,7 @@ Your query should look like
8684 }
8785
8886
89- To disable this behavior, set the ``auto_camelcase `` to ``False `` upon schema instantiation.
87+ To disable this behavior, set the ``auto_camelcase `` to ``False `` upon schema instantiation:
9088
9189.. code :: python
9290
0 commit comments