dotnet / dotnet/efcore

Query: add better documentation explaining how to use instancePropagatesNullability and argumentsPropagateNullability on SqlFunctionExpression

Open
#33,833 1 comment 0 reactions 0 assignees View on GitHub
area-query customer-reported
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

It is an advanced scenario and it's documented here: https://learn.microsoft.com/en-us/ef/core/querying/user-defined-function-mapping#configuring-nullability-of-user-defined-function-based-on-its-arguments
but it's also quite complicated and nuanced - we should add some extra contexts (as part of the xml documentation) that would explain how to use it properly, and if user is not certain, how to use it safely (i.e. in a way that will not produce incorrect sql)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.