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

apollo-server out of date in graphql-node tutorial #1377

Open
1 of 2 tasks
TasinIshmam opened this issue Oct 27, 2021 · 0 comments
Open
1 of 2 tasks

apollo-server out of date in graphql-node tutorial #1377

TasinIshmam opened this issue Oct 27, 2021 · 0 comments

Comments

@TasinIshmam
Copy link
Contributor

TasinIshmam commented Oct 27, 2021

Problem

The graphql-node tutorial currently uses version 2 of apollo-server. However with the release of apollo-sever version 3, certain components of the tutorial no longer work properly.

A list of non-exhaustive breaking changes

  • apollo-server v3 no longer uses graphql-playground by default.
  • apollo-server v3 does not support subscription out of the box.

Proposed Solution

  • Upgrade the tutorial to use the latest version of apollo-sever, fixing all breaking changes as suggested in the migration docs of apollo server 3.

Temporary quick-fix/workaround

  • Pin apollo server to version 2 in the tutorial, so people do not accidentally install the latest version and break the tutorial.

Related Issues

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

No branches or pull requests

1 participant