True Goodwill

Results 9 comments of True Goodwill

You can get halfway there by creating your own extension method: ```csharp public static Validatable Assert(this TValue value) { return value.Throw(); } ``` The problem is that it doesn't allow...

I'd also really like to see a `Func` choice added to the `ExceptionCustomizations` `OneOf` monad that takes both `paramName` and `message` as parameters. For bonus points, I'd also like to...

Sample usage: ```csharp public interface ICommand { } public sealed record MyCommand(string Value1, string Value2) : ICommand { } public sealed class CommandRejectedException : Exception { public ICommand? Command {...

Why not just write the functionality once for each type, treating `IDictionary` and `IDictionay` as differently to each other as `int` and `bool`? ```csharp public static ref readonly Validatable IfContainsKey(...

Thank you, as usual, I love using your packages. Great work always :)

I did try that. The remote host refused the connection.

EventSourced objects maintain a sequential event count as you know. All my command objects have an "ExpectedVersion" property so the command handler can reject the command if the grain state...

Lovely work by the way, I'm very happy to find this.

I solved this problem while using the `StronglyTypedId` source generator for Value Objects. The `StronglyTypedId` source generator (prerelease 1.x.x, be sure to get the latest pre-release version) lets you define...