Cosmos: Implement EF.Functions.CoalesceUndefined #33904
Labels
area-cosmos
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
Milestone
Cosmos has a coalescing operator (
??
); this coalesces Cosmosundefined
(e.g. missing properties), but not null:As a result, this operator is unsuitable for translation of regular .NET coalescing operations; we already use the conditional operator for that (
x != null ? x : 'foo')
. However, the user should be able to express the coalescing operator via e.g. anEF.Functions.CoalesceUndefined()
function.This can probably be done together with #17722 (add
IS_DEFINED()
translation), as part of a better story around Cosmosundefined
./cc @ajcvickers
The text was updated successfully, but these errors were encountered: