jezzsantos / saastack

A comprehensive codebase template for starting your real-world, fully featured SaaS web products. On the .NET platform
The Unlicense
44 stars 13 forks source link

ValueObject persistence and Optional<T> #49

Open jezzsantos opened 3 months ago

jezzsantos commented 3 months ago

We are using our implementation of Optional<T> loosely derived from dotNetNext. We did that becuase it was uncertain at the time, whether this would make it into C# at all, and we didn't want the extra dependencies on the distributed library, not use some of the library classes.

We have some places int eh code where we are mapping between T? and Optional<T> and its very clunky. We need more implicit conversations to make it more fluid code, and more discoverable for developers.

Secondly, ValudaObjectBase<T> dehydration is not really Optional<T> aware and that needs to change too.