Skip to content

GraphQL G5: incremental delivery (@defer / @stream), experimental #1588

Closed

Description

@jlouvel

Part of #1581. Depends on G1 and the streaming multipart support.

The incremental delivery RFC is not finalized, so this is experimental and off by default:

  • Server: when graphql-java incremental support is enabled and the client accepts multipart/mixed, write the initial result and each DelayedIncrementalPartialResult as a part.
  • Client: read the parts and expose them as a Publisher.
  • Without multipart/mixed in Accept, @defer/@stream are not executed incrementally.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions