-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simplify CollectFields for @defer
and @stream
#3994
Conversation
✅ Deploy Preview for compassionate-pike-271cb3 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hi @yaacovCR, I'm @github-actions bot happy to help you with this PR 👋 Supported commandsPlease post this commands in separate comments and only one per comment:
|
this PR also removes code that supports graphql/graphql-spec#1054 => as noted there, that "feature" is not necessarily desirable, and after feedback from the sub-WG, it seems like we should merge support for that later on in a separate PR. |
minimizes changes to CollectFields a la graphql#3982 but still creates a single memoized incremental field plan per list item.
Updated graphql/graphql-spec#1052 to reflect simplification from this PR. |
in favor of resolution at runtime this is a tradeoff of theoretical performance gain vs code simplification
@defer
and @stream
minimizes the changes to `CollectFields` required for incremental delivery (inspired by graphql#3982) -- but retains a single memoized incremental field plan per list item.
minimizes changes to CollectFields a la #3982 but still creates a single memoized incremental field plan per list item.
@robrichard