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

Add older 'react-apollo' to transform imports #7216

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

tm1000
Copy link
Contributor

@tm1000 tm1000 commented Oct 22, 2020

This simply adds react-apollo to the import.js for transformations. I'm not sure why it wasn't included, I added it to mine and transformed over 100+ js files and it worked fine

Copy link
Member

@benjamn benjamn left a comment

Choose a reason for hiding this comment

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

Good catch @tm1000! This definitely makes as much sense as any of the other translations, as long as you remember to double-check the results of the transform (none of the translations are 100% perfect). Also, if I recall correctly, we designed this script so you can run it as many times as you like (it should be idempotent), so running it again after adding this new rule should work as expected.

@benjamn benjamn merged commit 85120fe into apollographql:main Oct 26, 2020
benjamn added a commit that referenced this pull request Nov 16, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants