Skip to content

Commit

Permalink
Allow to specify EntityValueResolver as ValueResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu authored and ostrolucky committed Feb 23, 2023
1 parent b0de410 commit 33037fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/config/orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
<service id="doctrine.orm.entity_value_resolver" class="Symfony\Bridge\Doctrine\ArgumentResolver\EntityValueResolver">
<argument type="service" id="doctrine" />
<argument type="service" id="doctrine.orm.entity_value_resolver.expression_language" on-invalid="ignore" />
<tag name="controller.argument_value_resolver" priority="110" />
<tag name="Symfony\Bridge\Doctrine\ArgumentResolver\EntityValueResolver" priority="110">controller.argument_value_resolver</tag>
</service>

<service id="doctrine.orm.entity_value_resolver.expression_language" class="Symfony\Component\ExpressionLanguage\ExpressionLanguage" />
Expand Down

0 comments on commit 33037fd

Please sign in to comment.