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.
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 likeSomething_SomethingElse_Fragment
.It would be really cool if there was a way to force
codegen
to export these as well.