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

Avoid partial #10780

Merged
merged 2 commits into from
Jun 22, 2023
Merged

Avoid partial #10780

merged 2 commits into from
Jun 22, 2023

Conversation

greg0ire
Copy link
Member

Partial objects are deprecated. They were handy to make the generated
SQL more legible, but we should refrain from relying on them.

It brings nothing over what PHPUnit now natively does.
@greg0ire greg0ire force-pushed the avoid-partial branch 3 times, most recently from deae31e to 331aff7 Compare June 18, 2023 16:19
Partial objects are deprecated. They were handy to make the generated
SQL more legible, but we should refrain from relying on them.
Copy link
Member

@SenseException SenseException left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a partial change to avoid partial objects and will further changes follow? This PR just changes a test class on line that contained ORMQuery::HINT_FORCE_PARTIAL_LOAD

@greg0ire
Copy link
Member Author

Is this a partial change

lol I see what you did here 😉

There might be more PRs against 2.15.x, if I notice more tests need to be migrated while attempting to remove PARTIAL from 3.0.x IIRC this was the biggest source of changes.

@greg0ire greg0ire merged commit 829d5fb into doctrine:2.15.x Jun 22, 2023
@greg0ire greg0ire deleted the avoid-partial branch June 22, 2023 08:04
@greg0ire greg0ire added this to the 2.15.3 milestone Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants