-
Notifications
You must be signed in to change notification settings - Fork 15
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
Plugin throwing an error when WP GraphQL is disabled #350
Comments
I said it was a bad idea before y'all already implemented it in #332 🤷 Either way, If you're looking for a better long term solve I'd investigate replacing that semver library with what we now ship in WPGraphQL core - it probably needs some options exposed in core, but an internal goal is to make it easy for any extension to opt into WPGraphQL's semver for their own checking/updates. |
Thanks @justlevine Ah sorry you did point out about issues with requiring the plugin and that's a good point about the UX/code solution. I definitely think we should look into longer term fix and seeing how we can integrate into core as it would make sense to me as this is a WP GraphQL extension that we would use the same service for SemVer as WP GraphQL. Thanks for sharing this as well 👍 |
@colinmurphy can we just update "blakewilson/wp-enforce-semver": "^3.0.1" to its latest version? |
Thanks @justlevine We will look at getting the short term fix implemented this week and add the WP GraphQL Semver part to the backlog to do in the future. |
As reported by @justlevine
Steps to replicate
If you disable WP GraphQL while WP GraphQL Content Blocks is enabled, you will get a fatal error.
The text was updated successfully, but these errors were encountered: