-
Notifications
You must be signed in to change notification settings - Fork 272
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
support the incremental response field #1551
Conversation
deferred response should return payloads in an array in the response's `incremental` field
This comment has been minimized.
This comment has been minimized.
reference: graphql/defer-stream-wg#41 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A slight worry about the requirements around incremental
, and 1 question about snapshots. otherwise lgtm
extensions: Default::default(), | ||
subselection: Default::default(), | ||
has_next: Default::default(), | ||
..Response::default() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😅
} | ||
|
||
#[buildstructor::buildstructor] | ||
impl Response { | ||
/// Constructor | ||
#[builder(visibility = "pub")] | ||
#[allow(clippy::too_many_arguments)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is done automagically since 0.5.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here the lint was still complaining, unfortunately :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting, we should open an issue
Fix #1548
deferred response should return payloads in an array in the response's
incremental
field