Using interpolated string inside ternary with nullable object throws NullReferenceException #16724
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
Interpolated string inside ternary conditionals with nullable properties doesn't work as expected.
This throws :
But this doesn't :
The same query worked fine in 2.2.6 and prior.
Further technical details
EF Core version: 3.0.0-preview7.19365.7
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10 x64
IDE: Visual Studio 2019 16.2.0 Preview 4.0
The text was updated successfully, but these errors were encountered: