mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Minor grammatical fix in the schema docs (#1237)
This commit is contained in:
parent
64af43748c
commit
2130005406
|
@ -1,11 +1,11 @@
|
|||
Schema
|
||||
======
|
||||
|
||||
A GraphQL **Schema** defines the types and relationship between **Fields** in your API.
|
||||
A GraphQL **Schema** defines the types and relationships between **Fields** in your API.
|
||||
|
||||
A Schema is created by supplying the root :ref:`ObjectType` of each operation, query (mandatory), mutation and subscription.
|
||||
|
||||
Schema will collect all type definitions related to the root operations and then supplied to the validator and executor.
|
||||
Schema will collect all type definitions related to the root operations and then supply them to the validator and executor.
|
||||
|
||||
.. code:: python
|
||||
|
||||
|
@ -19,7 +19,7 @@ A Root Query is just a special :ref:`ObjectType` that :ref:`defines the fields <
|
|||
|
||||
* Query fetches data
|
||||
* Mutation changes data and retrieves the changes
|
||||
* Subscription sends changes to clients in real time
|
||||
* Subscription sends changes to clients in real-time
|
||||
|
||||
Review the `GraphQL documentation on Schema`_ for a brief overview of fields, schema and operations.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user