Example conf?
KATT opened this issue · 4 comments
Hey!
I'm struggling a bit on how to use this. See my PR on my play-project here: KATT/e2e-typesafety/pull/1
KATT/e2e-typesafety#1
In my generated file it refers to an Operations
object that I don't know where it comes from: KATT/e2e-typesafety/blob/feature/graphql-codegen-apollo-next-ssr/apollo/__generated__/graphql.tsx#L56
You can see my config here: ssr/codegen.js
What am I missing to get it live and kicking?
Thanks
Got the generation working finally, thanks anyway! 🙏
Got the generation working finally, thanks anyway! 🙏
@KATT Could you by any chance specify what fixed this for you? Been starring at this error for multiple hours now with a teammate going in circles where we either hit this error, a codegen error not regarding this plugin, or some combination
No idea, don't remember doing this haha
can you share your codegen.yml
?
you can also considering using the Typed Document Node so you can implement your own getServerSideProps
typesafe interface