xavierjohn / FunctionalDDD

Functional programming with Domain Driven Design.
https://xavierjohn.github.io/FunctionalDDD/
MIT License
31 stars 1 forks source link

Result should inherit from IResult? #133

Closed RHaughton closed 9 months ago

RHaughton commented 9 months ago

Hi, Just stumbled on your FunctionalDDD library. Is there a reason the Result class doesn't inherit from IResult like ResultOfT does from IResult?

EDIT: My bad. just saw that the Result class is static and only returns ResultOfT even when T is Unit.