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(gateway): add missing apollo-server-errors runtime dependency. #3927

Merged
merged 5 commits into from
Apr 22, 2020

Conversation

YAndrew91
Copy link
Contributor

I accidentally found out that apollo-gateway doesn't depend on apollo-server-errors directly in its package.json, but actually uses it.

This caused me an issue when I updated @apollo/gateway's major version (0.11 -> 0.13) in my project using npm i apollo/gateway. This ended up in package.lock continuing using the previous version of apollo-server-errors (2.3.4 instead of 2.4.0) package as a top-level dependency, and, what is more important, being marked as a dev dependency (being used by my other dev dependency). So, when I tried to do a production npm install, apollo-server-errors dependency was being lost completely that caused a runtime error.

@abernix abernix changed the title Fix apollo-gateway package missing apollo-server-errors dependency fix(gateway): add missing apollo-server-errors runtime dependency. Apr 22, 2020
Copy link
Member

@abernix abernix left a comment

Choose a reason for hiding this comment

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

Thanks!

@abernix abernix merged commit 63c9df2 into apollographql:master Apr 22, 2020
abernix added a commit to apollographql/federation that referenced this pull request Sep 4, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 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.

2 participants