Skip to content

Inaccuracy in Fetch Automatically #20180

Open
@ura2rist

Description

@ura2rist

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions