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

Conversation

gabbigum
Copy link

Improvement of examples documentation.

What led to this PR: graphql/graphql-js#3291

@linux-foundation-easycla
Copy link

CLA Missing ID

@saihaj
Copy link
Member

saihaj commented Oct 13, 2021

@IvanGoncharov @robrichard can you please review and merge this

@acao
Copy link
Member

acao commented Oct 13, 2021

awesome! we have stream and defer examples in graphiql as well.

it doesn't work yet with netlify, or we need to configure our netlify function to handle multipart better, it seems to send all the chunks at once sync. but if you run this same query with the local server and express-graphql it just works!

https://graphiql-test.netlify.app/?query=query%20%7B%0A%20%20streamable(delay%3A%201000)%20%40stream(initialCount%3A%202)%20%7B%0A%20%20%20%20text%0A%20%20%7D%0A%7D&operationName=Example

@acao
Copy link
Member

acao commented Oct 13, 2021

@gabbigum you'll need to sign the CLA. thanks for this PR!

@gabbigum
Copy link
Author

I signed the CLA. Thanks :)

@gabbigum
Copy link
Author

awesome! we have stream and defer examples in graphiql as well.

it doesn't work yet with netlify, or we need to configure our netlify function to handle multipart better, it seems to send all the chunks at once sync. but if you run this same query with the local server and express-graphql it just works!

https://graphiql-test.netlify.app/?query=query%20%7B%0A%20%20streamable(delay%3A%201000)%20%40stream(initialCount%3A%202)%20%7B%0A%20%20%20%20text%0A%20%20%7D%0A%7D&operationName=Example

Can you send me examples of @defer with graphiql. It would help me a lot.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants