Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Avoid partial#10780

Merged
greg0ire merged 2 commits into
doctrine:2.15.xfrom
greg0ire:avoid-partial
Jun 22, 2023
Merged

Avoid partial#10780
greg0ire merged 2 commits into
doctrine:2.15.xfrom
greg0ire:avoid-partial

Conversation

@greg0ire
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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