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

Update peerDependencies in package.json #6594

Merged
merged 2 commits into from
Jul 14, 2020

Conversation

MichaelDeBoey
Copy link
Contributor

@benjamn benjamn requested a review from hwillson July 14, 2020 14:25
Copy link
Member

@hwillson hwillson left a comment

Choose a reason for hiding this comment

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

Looks good - thanks @MichaelDeBoey!

@billyjanitsch
Copy link

@hwillson I think you ought to reconsider this change. See this explanation. It's also been rejected in other prominent repos like React.

tl;dr: it's likely that at some point in the future, a new major version of at least one of these peer dependencies will be released that isn't compatible with Apollo Client's use of it. This will cause Apollo Client to break without warning if the consumer upgrades this dependency. It's essentially the same reason why one wouldn't want to use >= for regular dependencies.

@hwillson
Copy link
Member

Ahhh of course, great point @billyjanitsch. Thanks!

hwillson added a commit that referenced this pull request Jul 15, 2020
benjamn pushed a commit that referenced this pull request Jul 15, 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

3 participants