Ryan Marcotte

Results 7 issues of Ryan Marcotte

`EditContextFluentValidationExtensions.GetValidatorForModel` uses `model.GetType()` to determine what validator to fetch from the service provider. The majority of my view models are proxied at runtime and so `model.GetType()` will return the runtime-generated...

Feature

#72 has information about the usage scenario: retrieving a validator instance for a model type that has been proxied. - adds `MakeTypeUsingEditContextModelDelegate` (`object => Type`) - `FluentValidationValidator` has new optional...

``` csharp Option MakeDbModel(DomainEvent domainEvent) => domainEvent switch { KegActiveStatusChangedEvent e => MakeLogEntry_ActiveStatus(e), KegPurchaseCostChangedEvent e => MakeLogEntry_PurchaseCost(e), KegProductSkuChangedEvent e => MakeLogEntry_ProductSku(e), KegRecipeChangedEvent e => MakeLogEntry_Recipe(e), KegStatusChangedEvent e => MakeLogEntry_Status(e), KegUsageCountChangedEvent...

I have received feedback that - while this repository's documentation is relatively thorough - it would be extremely helpful for that same documentation to pop up via Intellisense. I can...

The `Result.ZipFailure` factory method is similar to `Result.Zip`, but for cases where the `TSuccess` type is identical and the `TFailure` type varies between results. An example scenario where this is...

I don't generate `Option` very often, but when it happens I almost always end up transforming the `Option.None` case to an empty collection. ``` csharp public static IEnumerable ValueOrEmpty(this Option...