DataObjects-NET / dataobjects-net

https://dataobjects.net
MIT License
60 stars 23 forks source link

avoid Nullable return type? #347

Open runenilsenoe opened 8 months ago

runenilsenoe commented 8 months ago

this is a bit confusing: https://github.com/DataObjects-NET/dataobjects-net/blob/2be511d0e5083e1b2cd58151e03d14a1d6604e5c/Orm/Xtensive.Orm/Orm/QueryEndpoint.cs#L349 The .Single inside will throw hence the nullability of the function is confusing