You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Query: We should throw when accessing non-nullable property over a null-value entity in the projection #20633
assuming assigned city can be null, we should throw "nullable object must have a value" (or ideally something more meaningful).
Currently we return default(int) - it might not be what user expected.
Casting result to nullable will yield correct result (and would get rid of the exception in the future)
changed the title [-]We should throw when accessing non-nullable property over a null-value entity in the projection[/-][+]Query: We should throw when accessing non-nullable property over a null-value entity in the projection[/+]on Apr 14, 2020
Notes from team discussion: we should do this alongside the other related change such that Sum queries still return correct values. Then I don't think this is a breaking change because it is only changing the result in places where it was previously wrong.
Activity
[-]We should throw when accessing non-nullable property over a null-value entity in the projection[/-][+]Query: We should throw when accessing non-nullable property over a null-value entity in the projection[/+]maumar commentedon Apr 14, 2020
Note: in 2.1 we would throw in this case, which we changed in 3.1. We want to go back to 2.1 behavior.
ajcvickers commentedon Apr 17, 2020
Notes from team discussion: we should do this alongside the other related change such that
Sumqueries still return correct values. Then I don't think this is a breaking change because it is only changing the result in places where it was previously wrong.Query: Don't read default value from databases
Query: Don't read default value from databases
Query: Don't read default value from databases (#21668)
fix(backend): potential bug in summary
fix(backend): potential bug in summary