FluentValidation.AutoValidation
FluentValidation.AutoValidation copied to clipboard
Add AOT compatibility annotations and flags for FluentValidation
- Mark relevant methods and properties with
[RequiresUnreferencedCode]or[DynamicDependency]to support Ahead-Of-Time (AOT) compilation. - Add
<IsAotCompatible>property to project files for compatibility metadata. - Suppress warnings where validators are expected to be preserved by user annotations.