-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
graphql dependency is mismatched with graphql-compose #35212
Comments
Apologies if I short-circuited the template in an unhelpful way, but I think the fix is as simple as updating the graphql dependency (assuming that doesn't break anything). If it would be helpful to create a very simple project to be able to reproduce, I can do that. |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Thanks again for being part of the Gatsby community! 💪💜 |
Commenting because this issue has not been fixed |
Also experiencing issues with this topic |
While on paper it's "just" updating https://github.com/graphql/graphql-js/releases/tag/v16.0.0 We'd appreciate any help with putting up a PR updating it and assessing which breaking changes affect us and if this would also mean a breaking change for Gatsby users. |
In the meantime, we've downgraded our version of "overrides": {
"gatsby": {
"graphql-compose": "9.0.4"
},
"gatsby-plugin-manifest": {
"graphql-compose": "9.0.4"
},
"gatsby-plugin-utils": {
"graphql-compose": "9.0.4"
}
}, At the same time, I'm unsure if the issue will be fixed by upgrading Gatsby's graphql version. Should we fix it by downgrading Gatsby's desired version of |
... not yet compatible with graphql 16 gatsbyjs/gatsby#35212
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Still an issue. |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Downgrading |
* Fix graphql-compose to version 9.0.4 due to [1] * Some new settings are required for newer TypeScript version * TypeScript 4.8 is incompatible with currently used msw version [1]: gatsbyjs/gatsby#35212
for fixing -> gatsbyjs/gatsby#35212
Preliminary Checks
Description
There is a known issue with graphql-compose where it technically depends on graphql v16, but isn't explicit about it. Gatsby, after #34787, depends on this package but depends on an earlier version of graphql. As a result, the TypeScript compiler fails unless you enable the
skipLibCheck
option.Reproduction Link
N/A
Steps to Reproduce
...
Expected Result
No errors with tsc.
Actual Result
Environment
.
Config Flags
No response
The text was updated successfully, but these errors were encountered: