-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 @defer and @stream in operations plugin #7885
Comments
Is there a theory of roughly what sorts of types should be generated for incremental delivery operations? |
This commit takes a first pass at introducing `@defer` typescript codegen support. It follows a similar approach as the `@skip` / `@include` functionality introduced in dotansimha#5017. Related issue: dotansimha#7885
This commit takes a first pass at introducing `@defer` typescript codegen support. It follows a similar approach as the `@skip` / `@include` functionality introduced in dotansimha#5017. Related issue: dotansimha#7885
This commit takes a first pass at introducing `@defer` typescript codegen support. It follows a similar approach as the `@skip` / `@include` functionality introduced in dotansimha#5017. Related issue: dotansimha#7885
This commit takes a first pass at introducing `@defer` typescript codegen support. It follows a similar approach as the `@skip` / `@include` functionality introduced in dotansimha#5017. Related issue: dotansimha#7885
This commit takes a first pass at introducing `@defer` typescript codegen support. It follows a similar approach as the `@skip` / `@include` functionality introduced in dotansimha#5017. Related issue: dotansimha#7885
This commit takes a first pass at introducing `@defer` typescript codegen support. It follows a similar approach as the `@skip` / `@include` functionality introduced in dotansimha#5017. Related issue: dotansimha#7885
+1 to the previous question — @hwillson, do you think you're gonna continue working on adding defer support and is there any way to help you? |
Is defer supported now? Looking at the PR referenced and this example https://github.com/dotansimha/graphql-code-generator/tree/master/examples/react/apollo-client-defer. |
Yes, we will release it today 😇 |
@n1ru4l I am still unable to use the defer directive with the latest version of graphql-codegen. This is the error:
|
Hi there @jennyk1 👋 I work on Apollo Client and it looks like your server is using SSE to communicate with the client which isn't supported out of the box. Can you please open an issue over on the Apollo Client repository since this issue doesn't have to do with codegen? Thanks! |
defer and stream are close to land and should be correctly supported within the code output.
The text was updated successfully, but these errors were encountered: