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

chore(build): remove modular graphql #2551

Merged
merged 2 commits into from
Aug 14, 2022
Merged

Conversation

JoviDeCroock
Copy link
Collaborator

Resolves #2539

Summary

It seems like importing from graphql makes us run into issues, especially in node-environments as imports from the root and imports from the specific packages make us run into the infamous multiple GraphQL instances error. Until the main package moves to full ESM compat with export maps, ... this will be the best fix to support previous versions of GraphQL and current ones

Set of changes

  • remove the modular babel plugin

@changeset-bot
Copy link

changeset-bot bot commented Jul 21, 2022

🦋 Changeset detected

Latest commit: 1b8254c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@urql/exchange-auth Minor
@urql/exchange-execute Minor
@urql/exchange-graphcache Minor
@urql/exchange-persisted-fetch Minor
@urql/exchange-populate Minor
@urql/core Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JoviDeCroock JoviDeCroock merged commit 78216e2 into main Aug 14, 2022
@JoviDeCroock JoviDeCroock deleted the remove-modular-graphql branch August 14, 2022 10:12
@urql-ci urql-ci mentioned this pull request Aug 14, 2022
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.

@urql/exchange-execute issues when using with 📦s that import graphql from root
2 participants