GuardClauses icon indicating copy to clipboard operation
GuardClauses copied to clipboard

FluentValidation

Open ardalis opened this issue 1 year ago • 0 comments
trafficstars

Add a Guard.Against.Invalid() that takes in a fluent validator type and performs something like:

    validator!.ValidateAndThrow(input);

This would need to go into a new package, Ardalis.GuardClauses.FluentValidation

ardalis avatar Dec 18 '23 15:12 ardalis