Closed agross closed 1 year ago
I just found this rather by accident:
When you return a Maybe<object> from the GetAndUpdate handler, the Maybe itself is persisted instead of the wrapped object. C# seems to prefer the overload with Func<T, object>.
Maybe<object>
GetAndUpdate
Func<T, object>
Here's an example, I used "Go to definition".
I just found this rather by accident:
When you return a
Maybe<object>
from theGetAndUpdate
handler, the Maybe itself is persisted instead of the wrapped object. C# seems to prefer the overload withFunc<T, object>
.Here's an example, I used "Go to definition".