Commit 8dc2955
authored
fix(docs/mutations-and-input-types.mdx): root being inside of SDL (#4452)
The example shows graphql implementation, where the "root" is by mistake
put as string as part of the schema definition instead being a native js
const
BEFORE (root is undefined and wongly put into the schema itself):

AFTER (root correctly defined outside of the schema):
1 parent 7134cab commit 8dc2955
1 file changed
+20
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | 233 | | |
254 | 234 | | |
255 | 235 | | |
| |||
265 | 245 | | |
266 | 246 | | |
267 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
0 commit comments