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

Query: Final GroupBy with non-nullable column #29209

Merged
merged 2 commits into from
Sep 27, 2022
Merged

Conversation

smitpatel
Copy link
Contributor

@smitpatel smitpatel commented Sep 26, 2022

Resolves #19929
Resolves #28300

Description

EF7 introduces support for GroupBy when it is the final operator in a query. However, this is not working when grouping by a property mapped to a non-nullable column.

Customer impact

Attempting to group by a non-nullable column throws an exception.

How found

Writing What's New docs for EF7.

Regression

No; new feature in EF7.

Testing

Regression tests added.

Risk

Low; simple fix in new code path.

@ajcvickers ajcvickers added this to the 7.0.0 milestone Sep 27, 2022
@smitpatel smitpatel merged commit 4877ab1 into smit/issue29199 Sep 27, 2022
@smitpatel smitpatel deleted the smit/convert branch September 27, 2022 18:40
@ajcvickers ajcvickers removed this from the 7.0.0 milestone Oct 3, 2022
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