From 423e72dec44feb5656a0ea2a384bac68a462732c Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Thu, 7 Nov 2024 21:25:37 +0100 Subject: [PATCH] Add note about defer/stream being v17 (#4289) --- 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..166bcb3eb3 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 available 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 {