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

[near-operation-files] More fixes for importAllFragmentsFrom #4328

Merged
merged 1 commit into from
Jul 6, 2020

Conversation

dotansimha
Copy link
Owner

The current implementation causes the preset sometimes to add unused fragment imports when importAllFragmentsFrom is set. This PR fixes that by changing the timing of the import override (at the moment, it's doing that while building the fragments map, this PR changes it to be done after building all the graph and imports, and it's just acts as override without effecting behaviour).

@theguild-bot
Copy link
Collaborator

theguild-bot commented Jul 6, 2020

The latest changes of this PR are available as alpha in npm: 1.16.3-alpha-236cc0d7.0

Quickly update your package.json by running:

npx match-version @graphql-codegen 1.16.3-alpha-236cc0d7.0

@dotansimha dotansimha merged commit 236cc0d into master Jul 6, 2020
@dotansimha dotansimha deleted the fixes-fragments-override-in-presets branch July 6, 2020 08:46
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