ardalis / Result

A result abstraction that can be mapped to HTTP response codes if needed.
MIT License
866 stars 107 forks source link

Result Value, if provided, cannot be null #53

Closed ardalis closed 3 years ago

ardalis commented 3 years ago

We don't want to have a Value on a result that is null, since that should be represented by a non-typed Result or a NotFound or other non-Success result.

ardalis commented 3 years ago

I think in order for this abstraction to work as designed we need to allow null values to be passed into its.