You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #19408 [Doctrine] The use of doctrine.orm.controller_resolver.auto_mapping (chadyred)
This PR was submitted for the 7.1 branch but it was merged into the 6.3 branch instead.
Discussion
----------
[Doctrine] The use of `doctrine.orm.controller_resolver.auto_mapping`
Hello,
When I read what this option is about
```yaml
doctrine:
orm:
controller_resolver:
# Set to false to disable using route placeholders as lookup criteria when the primary key doesn't match the argument name
auto_mapping: true
```
The "id" is always allowed even when this option is false.
So I change the doc to say "ok, 'id' will continue to work but not the use of the other attribute as route param to autowire an entity"
Commits
-------
fd7bcb8 [Doctrine] The use of `doctrine.orm.controller_resolver.auto_mapping option`
0 commit comments