-
Notifications
You must be signed in to change notification settings - Fork 29
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
Downgrade graphql
dependency version
#3134
Conversation
🦋 Changeset detectedLatest commit: 4c9b8be The changes in this PR will be included in the next version bump. This PR includes changesets to release 35 packages
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 |
Deploy preview for merchant-center-application-kit ready! ✅ Preview Built with commit 4c9b8be. |
Wouldn't this cause issues in our internal apps that use v16? 🤔 |
Yes, that's a good point. I wanted to downgrade the version in all packages for consistency, but maybe it would be better to just do it in the templates. What do you think? |
It seems to me that this is mostly an issue when using In the issue it mentioned that by using I would keep using graphql merchant-center-application-kit/packages/create-mc-app/src/tasks/install-dependencies.ts Line 14 in 0aa9c18
As for the What do you think? |
Ok. |
Summary
Downgrade
graphql
dependency versionDescription
Some users using our
@commercetools-frontend/create-mc-app
to create a new Custom Application are experiencing problems when running the command because of a peer dependency miss match with thegraphql
package.More info here: #3110
Our starter templates rely on the eslint-plugin-graphql package to add static validation to graphql mutations and queries.
This package uses the
graphql
one as a peer dependency and the one we are currently using is16.x
which is not supported by the former.We're downgrading our
graphql
version to the latest supported by the plugin (v15
) as we don't want to loose that static check.We also created an issue in the
eslint-plugin-graphql
repository asking forgraphql
v16.x
version support.