apollo-tooling
apollo-tooling copied to clipboard
Centralize types in one __generated__ folder
I'm facing a issue with NextJS that I cannot have a folder like the __generated__
inside the pages
folder on my NextJS, I was wondering if have a way to put all the generated types from apollo to one unique folder?
You can output the types anywhere you want — nextjs just prevents you from putting anything besides pages & api routes in pages
. That doesn't mean you can't output the types to something like src/_generated_