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

Add line when await precedes query expression #741

Merged
merged 2 commits into from
Oct 24, 2022
Merged

Add line when await precedes query expression #741

merged 2 commits into from
Oct 24, 2022

Conversation

domn1995
Copy link
Contributor

Hi, @belav! I believe this PR fixes #740, but I am not sure whether my solution is optimal, nor whether it's complete. I would really appreciate your feedback and any direction if this is not adequate.

Thanks!

@domn1995 domn1995 changed the title Add line when await precedes query expression. Add line when await precedes query expression Oct 18, 2022
Copy link
Collaborator

@shocklateboy92 shocklateboy92 left a comment

Choose a reason for hiding this comment

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

LGTM!

Assuming this doesn't break any tests, I don't expect @belav will have any objections.
Will give a few days just in case and merge.

@belav
Copy link
Owner

belav commented Oct 24, 2022

The changes look good, I'm just waiting on the results of running /Scripts/CreateTestingPR.ps1 to see if there are any edge cases that would need to be handled.

@belav
Copy link
Owner

belav commented Oct 24, 2022

Running /Scripts/CreateTestingPR.ps1 told me was that this case doesn't appear at all in https://github.com/belav/csharpier-repos. Perhaps none of the repos there use query syntax, or at least not with await. Thanks for the fix!

@belav belav merged commit 509862c into belav:master Oct 24, 2022
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.

Await + LINQ query syntax breaks formatting
3 participants