File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,17 @@ const meta = {
33 type : 'page' ,
44 title : 'Documentation' ,
55 } ,
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+ } ,
617 'api-v16' : {
718 type : 'menu' ,
819 title : 'API' ,
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ sidebarTitle: v16 to v17
44---
55
66import { 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 >
712
813# Breaking changes
914
@@ -32,7 +37,8 @@ const defaultValue = astFromValue(internalValue, type);
3237const defaultValue = valueToLiteral (externalValue, type);
3338```
3439
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> } ` .
3642
3743## GraphQLError constructor arguments
3844
You can’t perform that action at this time.
0 commit comments