File tree 2 files changed +18
-1
lines changed
2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,17 @@ const meta = {
3
3
type : 'page' ,
4
4
title : 'Documentation' ,
5
5
} ,
6
+ 'upgrade-guides' : {
7
+ type : 'menu' ,
8
+ title : 'Upgrade Guides' ,
9
+ items : {
10
+ 'v16-v17' : {
11
+ title : 'v16 to v17' ,
12
+ href : '/upgrade-guides/v16-v17' ,
13
+ } ,
14
+
15
+ }
16
+ } ,
6
17
'api-v16' : {
7
18
type : 'menu' ,
8
19
title : 'API' ,
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ sidebarTitle: v16 to v17
4
4
---
5
5
6
6
import { Tabs } from ' nextra/components' ;
7
+ import { Callout } from ' nextra/components'
8
+
9
+ <Callout type = " info" emoji = " ℹ️" >
10
+ Currently GraphQL v17 is in alpha, this guide is based on the alpha release and is subject to change.
11
+ </Callout >
7
12
8
13
# Breaking changes
9
14
@@ -32,7 +37,8 @@ const defaultValue = astFromValue(internalValue, type);
32
37
const defaultValue = valueToLiteral (externalValue, type);
33
38
```
34
39
35
- If you want to continue using the old behavior, you can use ` externalDefaultValue ` rather than ` defaultValue ` in your schema definitions.
40
+ If you want to continue using the old behavior, you can use ` defaultValue ` in your schema definitions. The new
41
+ behaviour will be exposed as ` default: { literal: <literal> } ` .
36
42
37
43
## GraphQLError constructor arguments
38
44
You can’t perform that action at this time.
0 commit comments