apollographql / apollographql/apollo-tooling

Centralize types in one __generated__ folder

Open
#2,382 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Research direction

Start by finding Apollo's code-generation option for choosing the output location and compare it with Next.js's handling of folders under pages. Confirm whether all generated types can use one shared folder without creating __generated__ inside pages; done means the configured output works with the reported Next.js setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, nextjs, typescript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.