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

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

Conversation

dragoshomner
Copy link
Contributor

@dragoshomner dragoshomner commented Mar 22, 2024

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

  • $fragmentSpreads instead of $fragmentRefs
  • $fragmentType instead of $refType

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

@dragoshomner dragoshomner marked this pull request as ready for review March 25, 2024 18:41
@alloy alloy merged commit 9cac9a7 into microsoft:main Mar 25, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants