Plans for Apollo Client 3.0 #4014
-
Hi all, Just started playing around with graphql-code-generator. Looks amazing. Have run into a bit of a stumbling block however with the plugin typescript-react-apollo. I'm using apollo client 3.0. If I set
Unfortunately, with this setup, you end up with an error It looks like it is due to the fact that in apollo client 3.0, hooks are included in the client package rather than in See here for more details: apollographql/apollo-client#5808 (comment) Q: are there plans for graphql-code-generator to support apollo client 3.0? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
https://graphql-code-generator.com/docs/generated-config/typescript-react-apollo#reactapolloversion-2--3-default-value-2 |
Beta Was this translation helpful? Give feedback.
https://graphql-code-generator.com/docs/generated-config/typescript-react-apollo#reactapolloversion-2--3-default-value-2
We already support Apollo Client v3.