We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1232ff3 commit b9d3abeCopy full SHA for b9d3abe
docs/types/mutations.rst
@@ -78,7 +78,7 @@ We should receive:
78
}
79
80
InputFields and InputObjectTypes
81
-----------------------
+----------------------------------
82
InputFields are used in mutations to allow nested input data for mutations
83
84
To use an InputField you define an InputObjectType that specifies the structure of your input data
@@ -114,7 +114,7 @@ Note that **name** and **age** are part of **person_data** now
114
115
Using the above mutation your new query would look like this:
116
117
-.. code:: graphql
+.. code:: json
118
119
mutation myFirstMutation {
120
createPerson(personData: {name:"Peter", age: 24}) {
0 commit comments