Skip to content

Expression::render must not mutate the state#938

Merged
mvorisek merged 13 commits intodevelopfrom
fix_corrupted_2nd_render
Nov 29, 2021
Merged

Expression::render must not mutate the state#938
mvorisek merged 13 commits intodevelopfrom
fix_corrupted_2nd_render

Conversation

@mvorisek
Copy link
Copy Markdown
Member

@mvorisek mvorisek commented Nov 27, 2021

fixes several hidden bugs and also #784

BC break

Expression::render() does no longer mutate the instance state, the result of the method is now an array with a rendered SQL and corresponding params

this method is expected to be not used in a higer level code thus the impact should be minimal

@mvorisek mvorisek force-pushed the fix_corrupted_2nd_render branch 12 times, most recently from 7ec2891 to 105b716 Compare November 28, 2021 13:28
@mvorisek mvorisek force-pushed the fix_corrupted_2nd_render branch 3 times, most recently from 083249c to b65a116 Compare November 28, 2021 15:46
@mvorisek mvorisek changed the title Fix unstable model select query render Expression::render must not mutate the state Nov 28, 2021
@mvorisek mvorisek force-pushed the fix_corrupted_2nd_render branch 3 times, most recently from 528abd9 to e912124 Compare November 28, 2021 16:53
@mvorisek mvorisek force-pushed the fix_corrupted_2nd_render branch from cf7d486 to 8faa1a7 Compare November 28, 2021 17:02
@mvorisek mvorisek added the RTM label Nov 28, 2021
@mvorisek mvorisek marked this pull request as ready for review November 28, 2021 18:03
@mvorisek mvorisek merged commit 226aae8 into develop Nov 29, 2021
@mvorisek mvorisek deleted the fix_corrupted_2nd_render branch November 29, 2021 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant