From 21f89e5bce0f5c4fceb35fea1d1786507407406a Mon Sep 17 00:00:00 2001 From: jdecroock Date: Thu, 7 Nov 2024 20:39:09 +0100 Subject: [PATCH 1/2] Add note about defer/stream being v17 --- website/pages/defer-stream.mdx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/website/pages/defer-stream.mdx b/website/pages/defer-stream.mdx index 3abd98a4bf..1b542d2146 100644 --- a/website/pages/defer-stream.mdx +++ b/website/pages/defer-stream.mdx @@ -2,7 +2,15 @@ title: Enabling Defer & Stream --- -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`. +import { Callout } from 'nextra/components' + + + These exports are only availble in v17 and beyond. + + +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`. ```js import { From eea2a4d82b3418d0211d1d976e0c630dea93281d Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Thu, 7 Nov 2024 21:16:17 +0100 Subject: [PATCH 2/2] Update defer-stream.mdx --- website/pages/defer-stream.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/defer-stream.mdx b/website/pages/defer-stream.mdx index 1b542d2146..166bcb3eb3 100644 --- a/website/pages/defer-stream.mdx +++ b/website/pages/defer-stream.mdx @@ -5,7 +5,7 @@ title: Enabling Defer & Stream import { Callout } from 'nextra/components' - These exports are only availble in v17 and beyond. + These exports are only available in v17 and beyond. The `@defer` and `@stream` directives are not enabled by default.