Skip to content

Commit 423e72d

Browse files
authored
Add note about defer/stream being v17 (#4289)
1 parent 577a9ad commit 423e72d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

website/pages/defer-stream.mdx

+9-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22
title: Enabling Defer & Stream
33
---
44

5-
The `@defer` and `@stream` directives are not enabled by default. In order to use these directives, you must add them to your GraphQL Schema and use the `experimentalExecuteIncrementally` function instead of `execute`.
5+
import { Callout } from 'nextra/components'
6+
7+
<Callout type="info" emoji="ℹ️">
8+
These exports are only available in v17 and beyond.
9+
</Callout>
10+
11+
The `@defer` and `@stream` directives are not enabled by default.
12+
In order to use these directives, you must add them to your GraphQL Schema and
13+
use the `experimentalExecuteIncrementally` function instead of `execute`.
614

715
```js
816
import {

0 commit comments

Comments
 (0)