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.

Activity

MrYamous

MrYamous commented on Sep 3, 2024

@MrYamous
Contributor

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

added
hasPRA Pull Request has already been submitted for this issue.
on Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Participants

      @xabbuh@MrYamous@ura2rist

      Issue actions

        Inaccuracy in Fetch Automatically · Issue #20180 · symfony/symfony-docs