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

Enable report_fields_where_declared for ORM 3 #1729

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

derrabus
Copy link
Member

Having report_fields_where_declared default to false does not make sense if ORM 3 is installed because it will result in a unusable driver configuration.

This PR picks a smart default depending on the installed ORM version. On top of that, it disallows opting out of the report_fields_where_declared setting when ORM 3 is installed.

@derrabus derrabus added the Bug label Nov 14, 2023
@derrabus derrabus added this to the 2.11.1 milestone Nov 14, 2023
@dmaicher
Copy link
Contributor

Ah nice 👍 I actually wanted to look into it myself in the next days as I also encountered then issue in sonata-project/sonata-doctrine-extensions#494 (comment)

@dmaicher
Copy link
Contributor

@derrabus
Copy link
Member Author

The test should be fixed now.

@derrabus derrabus merged commit 4089f14 into doctrine:2.11.x Nov 15, 2023
13 of 14 checks passed
@derrabus derrabus deleted the bugfix/rfwd-orm3 branch November 15, 2023 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants