Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Inaccuracy in Fetch Automatically #20180

Copy link
Copy link
Open
@ura2rist

Description

@ura2rist
Issue body actions

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.A 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.