For each release of GraphQL.js, we are now publishing an accompanying release containing an experimental implementation of the @defer and @stream directives. 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 GraphQL.js by adding the following to your project's package.json file.
"graphql": "experimental-stream-defer"
A similar release of express-graphql will be coming soon.
I am creating this issue as a placeholder for anyone who has tried out these experimental packages to leave feedback. Please let us know if everything is working as expected or if you run into any issues. Any suggestions for improvements are also welcome.
References:
Feedback received so far
Call return on iterable when connection closes
content-length in payload should not be required, parsers should use boundary instead
- Raised by @maraisr
graphql-over-http spec
fetch-multipart-graphql
express-graphql
For each release of GraphQL.js, we are now publishing an accompanying release containing an experimental implementation of the
@deferand@streamdirectives. 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 GraphQL.js by adding the following to your project's package.json file.
A similar release of
express-graphqlwill be coming soon.I am creating this issue as a placeholder for anyone who has tried out these experimental packages to leave feedback. Please let us know if everything is working as expected or if you run into any issues. Any suggestions for improvements are also welcome.
References:
Feedback received so far
Call
returnon iterable when connection closesgraphql-jsexpress-graphqlexpress-graphql@0.12.0-experimental-stream-defer.1content-lengthin payload should not be required, parsers should use boundary insteadgraphql-over-httpspecfetch-multipart-graphqlexpress-graphql