Skip to content

Commit b9d3abe

Browse files
committed
fixed a few documentation bugs
there was a warning of header underline not being long enough and code type graphql was being used intead of json
1 parent 1232ff3 commit b9d3abe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/types/mutations.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ We should receive:
7878
}
7979
8080
InputFields and InputObjectTypes
81-
----------------------
81+
----------------------------------
8282
InputFields are used in mutations to allow nested input data for mutations
8383

8484
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
114114

115115
Using the above mutation your new query would look like this:
116116

117-
.. code:: graphql
117+
.. code:: json
118118
119119
mutation myFirstMutation {
120120
createPerson(personData: {name:"Peter", age: 24}) {

0 commit comments

Comments
 (0)