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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to relay v7 #3017

Merged
merged 2 commits into from Nov 18, 2019
Merged

Upgrade to relay v7 #3017

merged 2 commits into from Nov 18, 2019

Conversation

alloy
Copy link
Contributor

@alloy alloy commented Nov 16, 2019

馃搱

@artsy-peril artsy-peril bot added the Version: Patch Indicates that this PR should have a patch deploy, usually for bug fixes label Nov 16, 2019
export type Accept_order$key = {
readonly " $data"?: Accept_order$data;
readonly " $fragmentRefs": FragmentRefs<"Accept_order">;
};
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of these additions are to support the experimental hooks (which needs react-relay to be installed from 1pm鈥檚 experimental dist-tag).

@alloy alloy requested a review from ds300 November 16, 2019 19:28
@@ -25,17 +25,14 @@ index d0ae8f5..3d47c54 100755
sources.push(source.body);
astDefinitions.push.apply(astDefinitions, (0, _toConsumableArray2["default"])(ast.definitions));
});
@@ -15352,9 +15352,10 @@ function find(tagFinder, text, absPath) {
@@ -17478,9 +17478,7 @@ function find(tagFinder, text, absPath) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do these two patches do and why are they needed?

Copy link
Contributor

@ds300 ds300 Nov 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This relay-compiler patch is to give us 'clickable' file names with correct line:column numbers in error messages.

based on @alloy's PR here: facebook/relay#2752 (which probably won't get merged as-is because it would bust the relay compiler cache of all facebook devs, which apparently is a big deal)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ds300 so to confirm, if the two patches in this PR were to suddenly go away it would have no effect on application behavior?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right 馃憤

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although you would have to clear the relay-compiler cache in $TMPDIR

@mzikherman
Copy link
Collaborator

That seemed easy! (besides the patch).

Copy link
Contributor

@ds300 ds300 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Poifect 馃憤

@alloy alloy added Version: Minor Indicates that this PR should have a minor deploy, usually for new features and removed Version: Patch Indicates that this PR should have a patch deploy, usually for bug fixes labels Nov 18, 2019
@alloy alloy merged commit 30dc219 into master Nov 18, 2019
@alloy alloy deleted the upgrade-to-relay-v7 branch November 18, 2019 15:16
@artsyit
Copy link
Contributor

artsyit commented Nov 18, 2019

馃殌 PR was released in v22.1.0 馃殌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Version: Minor Indicates that this PR should have a minor deploy, usually for new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants