You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/types/schema.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
Schema
2
2
======
3
3
4
-
A GraphQL **Schema** defines the types and relationship between **Fields** in your API.
4
+
A GraphQL **Schema** defines the types and relationships between **Fields** in your API.
5
5
6
6
A Schema is created by supplying the root :ref:`ObjectType` of each operation, query (mandatory), mutation and subscription.
7
7
8
-
Schema will collect all type definitions related to the root operations and then supplied to the validator and executor.
8
+
Schema will collect all type definitions related to the root operations and then supply them to the validator and executor.
9
9
10
10
.. code:: python
11
11
@@ -15,11 +15,11 @@ Schema will collect all type definitions related to the root operations and then
15
15
subscription=MyRootSubscription
16
16
)
17
17
18
-
A Root Query is just a special :ref:`ObjectType` that :ref:`defines the fields <Scalars>` that are the entrypoint for your API. Root Mutation and Root Subscription are similar to Root Query, but for different operation types:
18
+
A Root Query is just a special :ref:`ObjectType` that :ref:`defines the fields <Scalars>` that are the entrypoint for your API. Root Mutation and Root Subscription are similar to Root Query, but for different operation types:
19
19
20
20
* Query fetches data
21
21
* Mutation changes data and retrieves the changes
22
-
* Subscription sends changes to clients in realtime
22
+
* Subscription sends changes to clients in real-time
23
23
24
24
Review the `GraphQL documentation on Schema`_ for a brief overview of fields, schema and operations.
0 commit comments