Commit 80daec3
committed
minor #19408 [Doctrine] The use of
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`doctrine.orm.controller_resolver.auto_mapping (chadyred)1 file changed
+32
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | 643 | | |
672 | 644 | | |
673 | 645 | | |
| |||
713 | 685 | | |
714 | 686 | | |
715 | 687 | | |
716 | | - | |
717 | | - | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
718 | 720 | | |
719 | 721 | | |
720 | 722 | | |
| |||
0 commit comments