Skip to content

Commit cc85d58

Browse files
maltehuebnerclaude
andcommitted
Exclude static ConflictResolver from service autodiscovery
ConflictResolver has a private constructor and is only used statically, so it must not be registered as a service. Excludes it from autowiring to fix Symfony 8 cache:clear failure. Closes #22 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1409d07 commit cc85d58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/services.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66

77
MalteHuebner\DataQueryBundle\:
88
resource: '../src/{DataQueryManager,Factory,FieldList,FinderFactory,Manager,Parameter,Query,RequestParamterList,Validator}'
9-
exclude: '../src/{DependencyInjection,tests,MalteHuebnerDataQueryBundle}'
9+
exclude: '../src/{DependencyInjection,Factory/ConflictResolver,tests,MalteHuebnerDataQueryBundle}'
1010

1111
Psr\Container\ContainerInterface:
1212
alias: service_container

0 commit comments

Comments
 (0)