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

Accept strings in AbstractPlatform::get*Expression() methods #5129

Merged
merged 1 commit into from
Dec 19, 2021

Conversation

morozov
Copy link
Member

@morozov morozov commented Dec 19, 2021

Q A
Type bug
BC Break no

All AbstractPlatform::get*Expression() methods that build SQL by concatenating their parameters should accept strings. See #3498.

Otherwise, passing an SQL expression as the$startPos argument of getLocateExpression() works but is flagged as a type issue. See doctrine/orm#9266.

@morozov morozov force-pushed the get-expression-string branch from e9834b7 to ee571fb Compare December 19, 2021 05:04
@morozov morozov requested review from greg0ire and derrabus December 19, 2021 05:15
@morozov morozov added this to the 3.2.1 milestone Dec 19, 2021
@morozov morozov merged commit 9a95d47 into doctrine:3.2.x Dec 19, 2021
@morozov morozov deleted the get-expression-string branch December 19, 2021 16:07
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants