dotnet / efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
https://docs.microsoft.com/ef/
MIT License
13.73k stars 3.17k forks source link

Should DbFunctions extensions be annotated with [NotNull] or [CanBeNull]? #20749

Open roji opened 4 years ago

roji commented 4 years ago

When we expose functions via DbFunctions extensions, we annotate parameters for nullability, but it isn't clear what our policy should be.

smitpatel commented 4 years ago

Assigning to @roji to present in design meeting. (not urgent)