graphql-codegen-apollo-next-ssr icon indicating copy to clipboard operation
graphql-codegen-apollo-next-ssr copied to clipboard

Change `apolloState` to `initialApolloState`

Open imCorfitz opened this issue 5 years ago • 2 comments

Just an observation, since server side doesn't work when simply returning the await ssrQueryThing......

I tried to convert the with-apollo example at Next.js to TypeScript implementing graphQl-code-generator. This is the sandbox in development: https://codesandbox.io/s/nextjs-with-apollo-3-and-graphql-generator-5463i

imCorfitz avatar Aug 16 '20 18:08 imCorfitz

I see your point, I used the same name used by next-with-apollo

correttojs avatar Sep 07 '20 17:09 correttojs

@imCorfitz I think #147 (add apolloStateKey to you codegen config) allows you to do what you want

tmm avatar Apr 11 '21 20:04 tmm