- Issue created by @murz
- π¦π²Armenia murz Yerevan, Armenia
And here is a workaround (pretty ugly too) from the module side for the issue:
$this->moduleInstaller->install(['my_module']); // A workaround for the issue https://www.drupal.org/project/drupal/issues/3495977 // @todo Remove this when the proper fix is available. if ($this->container->has('testing.config_schema_checker')) { $configCheckerService = $this->container->get('testing.config_schema_checker'); $reflection = new \ReflectionClass($configCheckerService); /** @var \Drupal\Core\Config\TypedConfigManagerInterface $configCheckerServiceConfigTyped */ $configCheckerServiceConfigTyped = $reflection->getProperty('typedManager')->getValue($configCheckerService); $configCheckerServiceConfigTyped->clearCachedDefinitions(); }
- First commit to issue fork.
- π§πͺBelgium BramDriesen Belgium π§πͺ
Quick review code wise, there are some things which are not correct. Also still needs tests, and currently tests failures.