Optimize nested scalar SELECT
Open
area-query
customer-reported
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
Sometimes EFCore emits nested `SELECT`s over scalar values as in https://github.com/dotnet/efcore/pull/34262#pullrequestreview-2193265550
The could be simplified away for legibility and to allow further simplifications of the expressions.
The scalar case should be simple to recognize and fold away.
Contributor guide
Assessment
This issue has not been assessed yet.