You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once flattenGeneratedTypes is fixed and does inline operations this package can be deprecated and a link to graphql-codegen can be added.
I already tried re-searching some time ago why inlining fragments are broken on graphql-codegen, but due to complexity (package layering) and limited time I had to stop it.
Yesterday I tried upgrading and checked again, but graphql-codegen still did not inline fragments for the operations.
The text was updated successfully, but these errors were encountered:
Seems like flattenGeneratedTypes still not fixed? At least I didn't get it to work with newest @graphql-codegen/cli@2.6.2, @graphql-codegen/typescript@2.4.8 and @graphql-codegen/typescript-operations@2.3.5. All the fragments are back to being fragments instead of inlined.
Yes that is correct. Probably the solution will be to reimplement the relay compiler logic within codegen itself at some point as the relay-compiler moved to rust
Once
flattenGeneratedTypes
is fixed and does inline operations this package can be deprecated and a link to graphql-codegen can be added.I already tried re-searching some time ago why inlining fragments are broken on graphql-codegen, but due to complexity (package layering) and limited time I had to stop it.
Yesterday I tried upgrading and checked again, but graphql-codegen still did not inline fragments for the operations.
The text was updated successfully, but these errors were encountered: