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

Using line break characters can lead to wrong values in idempotent scripts #893

Merged
merged 2 commits into from
Oct 27, 2019

Conversation

lauxjpn
Copy link
Collaborator

@lauxjpn lauxjpn commented Oct 24, 2019

Implements @bricelam's workaround from dotnet/efcore#15256 (comment).

I added an option to disable the replacement of \r with CHAR(13) and \n with CHAR(10).
If a line break appears at the beginning or end of the string, we could optimize the result further in the future by not emitting an empty string.

Fixes #888

@lauxjpn lauxjpn added this to the 3.0.0 milestone Oct 24, 2019
@lauxjpn lauxjpn self-assigned this Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiline strings contains extra whitespaces
1 participant