Skip to content

Commit b1f64bc

Browse files
committed
Reorganise
1 parent 9a9c17a commit b1f64bc

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

website/pages/_meta.ts

+11
Original file line numberDiff line numberDiff 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',

website/pages/upgrade-guides/v16-v17.mdx

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ sidebarTitle: v16 to v17
44
---
55

66
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>
712

813
# Breaking changes
914

@@ -32,7 +37,8 @@ const defaultValue = astFromValue(internalValue, type);
3237
const 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

0 commit comments

Comments
 (0)