apollo-tooling icon indicating copy to clipboard operation
apollo-tooling copied to clipboard

Wanted: Ability to force-export fragments in generatedTypes

Open fbruckhoff opened this issue 2 years ago • 0 comments

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.

fbruckhoff avatar Mar 25 '22 15:03 fbruckhoff