Problem/Motivation
Drupal supports autowire for services, see change record: https://www.drupal.org/node/3218156
Proposed resolution
Autowire services
Remaining tasks
- Write a merge request
- Review
- Commit
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork domain-3554240
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
idebr commentedThe merge request implements autowiring for services
Comment #6
mably commentedComment #8
mably commented@idebr it looks like autowiring might have introduced some circular dependency bugs.
Getting this:
Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException: Circular reference detected for service "domain_config_ui.factory", path: "options_request_listener -> router.route_provider -> path_processor_manager -> path_processor_language -> domain_config_ui.factory -> domain.config_factory_override -> exception.fast_404_html". in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 147Investigating but still stuck for now on my dev instance...
Any help welcome :)
EDIT: Might not be related, I reverted the autowiring commit and I still get the WSOD :(