router
router copied to clipboard
@defer support
Current plan
Implement defer only for now, in the router, with some query planner modification.
Related issues:
- #1178
- #1179
- #1180
- #1181
To be defined:
- response stream format: right now the stream is apparent in all signatures, maybe we could have instead response types that holds the headers then a (generic) stream of graphql responses
- adapting telemetry: telemetry now registers one operation per response (deferred or not), that might not be what we want in the end. But also, telemetry does not really have a concept of deferred responses
I've changed this issue to just be about @defer. We can still think about @stream support in that design, but the outcome might just be @defer. 😜
This is done via a lot of tickets.