Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inaccuracy in Fetch Automatically #20180

Open
ura2rist opened this issue Aug 30, 2024 · 1 comment · May be fixed by #20193
Open

Inaccuracy in Fetch Automatically #20180

ura2rist opened this issue Aug 30, 2024 · 1 comment · May be fixed by #20193
Labels
hasPR A Pull Request has already been submitted for this issue.

Comments

@ura2rist
Copy link

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.

@MrYamous
Copy link
Contributor

MrYamous commented Sep 3, 2024

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

@MrYamous MrYamous linked a pull request Sep 3, 2024 that will close this issue
@xabbuh xabbuh added the hasPR A Pull Request has already been submitted for this issue. label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hasPR A Pull Request has already been submitted for this issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants