symfony-docs icon indicating copy to clipboard operation
symfony-docs copied to clipboard

Inaccuracy in Fetch Automatically

Open ura2rist opened this issue 1 year ago • 1 comments

link https://symfony.com/doc/current/doctrine.html#fetch-automatically The documentation says

This behavior is enabled by default on all controllers. If you prefer, you can restrict this feature to only work on route wildcards called id to look for entities by primary key. To do so, set the option doctrine.orm.controller_resolver.auto_mapping to false.

When running the command symfony new --webapp --version="7.1.*", the auto_mapping is disabled by default, although according to the documentation, it should be enabled.

ura2rist avatar Aug 30 '24 17:08 ura2rist

IIUC it's related to this PR on recipes which is following several updates about mapped routes parameters

MrYamous avatar Sep 03 '24 16:09 MrYamous