Skip to content

Conversation

@andimarek
Copy link
Member

Our deferred support was based on the Apollo implementation, but Apollo removed the experimental implementation again and it is currently not supported.

There is also currently a new proposal discussed actively in the GraphQL WG (https://github.com/graphql/graphql-spec/blob/master/rfcs/DeferStream.md) which aims to make deferred/stream part of the standard.

This PR removes the current (not supported in the overall ecosystem) deferred implementation. Our goal should be to add a new official defer support once it is ready.

@andimarek andimarek requested a review from bbakerman June 20, 2020 11:26
Copy link
Member

@bbakerman bbakerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its a PITY in some ways but honestly no one was really using it (based on a lack of questions ever about it)

The fact is MANY clients are JS browsers AND browser have no good ways to take a stream of JSON results in a decent fetch API

They are mostly know about fetch "onSuccess / onFailure". The idea of progressively asembling a JSON response its not really a thing that they are familar with

@bbakerman bbakerman added this to the 16.0 milestone Jun 21, 2020
@andimarek andimarek merged commit 3101f48 into master Jun 22, 2020
@andimarek andimarek added the breaking change requires a new major version to be relased label Jun 22, 2020
@andimarek andimarek deleted the remove-deferred-support branch May 4, 2021 21:06
felipe-gdr pushed a commit to felipe-gdr/graphql-java that referenced this pull request Jan 18, 2024
Revert "Merge pull request graphql-java#1964 from graphql-java/remove-deferred-2"

This reverts commit a0d327d, reversing
changes made to 3101f48.

Revert "Merge pull request graphql-java#1961 from graphql-java/remove-deferred-support"

This reverts commit 3101f48, reversing
changes made to 10eeacc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change requires a new major version to be relased

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants