Skip to content

Commit e1ae096

Browse files
dvndrsnjkimbo
andauthored
Update docs/types/objecttypes.rst
Co-Authored-By: Jonathan Kim <[email protected]>
1 parent 194fac3 commit e1ae096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/objecttypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This example model defines a Person, with a first and a last name:
2626
def resolve_full_name(parent, info):
2727
return f'{parent.first_name} {parent.last_name}'
2828
29-
This *ObjectType* defines the feild **first\_name**, **last\_name**, and **full\_name**. Each field is specified as a class attribute, and each attribute maps to a Field. Data is fetched by our ``resolve_full_name`` :ref:`resolver method<Resolvers>` for ``full_name`` field and the :ref:`DefaultResolver` for other fields.
29+
This *ObjectType* defines the field **first\_name**, **last\_name**, and **full\_name**. Each field is specified as a class attribute and each attribute maps to a Field. Data is fetched by our ``resolve_full_name`` :ref:`resolver method<Resolvers>` for ``full_name`` field and the :ref:`DefaultResolver` for other fields.
3030

3131
The above ``Person`` ObjectType has the following schema representation:
3232

0 commit comments

Comments
 (0)