microsoft / graphitation

GraphQL tooling & runtime support needed for MS Teams and beyond
https://microsoft.github.io/graphitation/
MIT License
137 stars 33 forks source link

Align generated types with relay-compiler >=15.0.0 #411

Closed dragoshomner closed 6 months ago

dragoshomner commented 6 months ago

In Relay Compiler >=15.0.0, the generated types have two differences:

Here you can see an example, of the same file, once generated with duct-tape-compiler and once with relay-compiler (>=15.0.0)

duct-tape-compiler relay-compiler
image image

The scope of this PR is to align those types with the latest version, so other apps will avoid having typescript differences between those versions