Skip to content
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

Example conf? #17

Closed
KATT opened this issue Oct 19, 2020 · 4 comments
Closed

Example conf? #17

KATT opened this issue Oct 19, 2020 · 4 comments

Comments

@KATT
Copy link

KATT commented Oct 19, 2020

Hey!

I'm struggling a bit on how to use this. See my PR on my play-project here: KATT/e2e-typesafety/pull/1KATT/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

@KATT
Copy link
Author

KATT commented Oct 19, 2020

Got the generation working finally, thanks anyway! 🙏

@KATT KATT closed this as completed Oct 19, 2020
@marcebdev
Copy link

marcebdev commented Jan 14, 2021

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

@KATT
Copy link
Author

KATT commented Jan 14, 2021

No idea, don't remember doing this haha

@correttojs
Copy link
Owner

can you share your codegen.yml ?
you can also considering using the Typed Document Node so you can implement your own getServerSideProps typesafe interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants