Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 432810d

Browse files
authored
Add instuctions for using experimental features (#727)
1 parent 706d792 commit 432810d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,17 @@ customFormatErrorFn: (error) => ({
362362
});
363363
```
364364

365+
## Experimental features
366+
367+
Each release of `express-graphql` will be accompanied by an experimental release containing support for the `@defer` and `@stream` directive proposal. We are hoping to get community feedback on these releases before the proposal is accepted into the GraphQL specification. You can use this experimental release of `express-graphql` by adding the following to your project's `package.json` file.
368+
369+
```
370+
"express-graphql": "experimental-stream-defer",
371+
"graphql": "experimental-stream-defer"
372+
```
373+
374+
Community feedback on this experimental release is much appreciated and can be provided on the [PR for the defer-stream branch](https://github.com/graphql/express-graphql/pull/726) or the [GraphQL.js issue for feedback](https://github.com/graphql/graphql-js/issues/2848).
375+
365376
[`graphql.js`]: https://github.com/graphql/graphql-js
366377
[`formaterror`]: https://github.com/graphql/graphql-js/blob/master/src/error/formatError.js
367378
[graphiql]: https://github.com/graphql/graphiql

0 commit comments

Comments
 (0)