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

fix: add graphql to peerDependencies #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonaskuske
Copy link

This package depends on apollo-link, which lists graphql as a peer dependency.
Because of this, graphql also is a (transitive) peer dependency of http-link-dataloader itself and needs to be listed as such.

Otherwise users see warnings, potential errors and if they're using a package manager that actually enforces package boundaries (like Yarn 2) it can't be used to begin with unless you fix the peerDependencies manually. (that's what happened to me)

apollo-link depends on graphql as peer dep, so this package also has graphql as a (transitive) peer dep that needs to be listed
arcanis added a commit to yarnpkg/berry that referenced this pull request Apr 1, 2020
* plugin-compat: extension for http-link-dataloader

See prisma-labs/http-link-dataloader#22

* Adds versions

Co-authored-by: Maël Nison <nison.mael@gmail.com>
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.

1 participant