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

Wanted: Ability to force-export fragments in generatedTypes #2580

Open
fbruckhoff opened this issue Mar 25, 2022 · 0 comments
Open

Wanted: Ability to force-export fragments in generatedTypes #2580

fbruckhoff opened this issue Mar 25, 2022 · 0 comments

Comments

@fbruckhoff
Copy link

fbruckhoff commented Mar 25, 2022

In our codebase generatedTypes.ts includes some useful fragments that are not being exported. I believe these are fragments that aren't defined manually in a .gql file and are auto-generated based on other fragment definitions, specifically some that use
... on SomethingElse
in their body, resulting in non-exported fragments like Something_SomethingElse_Fragment.

It would be really cool if there was a way to force codegen to export these as well.

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

1 participant