Skip to content

Instantly share code, notes, and snippets.

@AnthonyGiretti
Created April 8, 2026 00:48
Show Gist options
  • Select an option

  • Save AnthonyGiretti/e2b9de0e2ea3d13bb12b4aea00375e56 to your computer and use it in GitHub Desktop.

Select an option

Save AnthonyGiretti/e2b9de0e2ea3d13bb12b4aea00375e56 to your computer and use it in GitHub Desktop.
Old vs new FluentValidation IValidator interface
// Before (FluentValidation ≤ 11.4)
public interface IValidator<T>
// After (FluentValidation > 11.4)
public interface IValidator<in T>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment