Open queenvictoria opened 1 year ago
I notice that on graphql@4.5 though deployment succeeds that the edit page of the GraphQL server WSOD. This appears to be because the configuration relies on my plugin which was disabled. So it looks like the configuration doesn't require the module to be enabled. I don't know if that is something that could be done in the graphql--.yml.
dependencies:
module:
- graphql
- custom-schema
So the root cause is likely that graphql.route_enhancer.query
's service definition was changed which shouldn't be a problem but there are a few possible things in your environment that can cause this:
drush updb
(though there are drush configurations in which this is a manual step.)
2b. In case you get this before running drush updb
, you may need to ensure your deployment_identifier
in settings.php
changes between deployments (by default this only changes with Drupal core versions, but it probably needs to change more often to also take contrib changes into account)
Recording this here. I'm getting an error with version 4.6 which causes my build to fail. I can't reproduce this on my local dev yet and haven't been able to dig in to it yet. I thought it was caused by an old configuration for a graphql site but have recreated this and it still fails.
I am using a custom schema written over a year ago so will try removing that to see if the issue persists.
Rolling back to 4.5 solves my issue.