Skip to content

Release v22.31.1

Choose a tag to compare

@github-actions github-actions released this 28 Sep 18:37
47e2e94

Changed

  • ASP.NET model validation no longer builds ValidationContext<T> through MakeGenericType and Activator.CreateInstance, which NativeAOT and trimming cannot preserve. Command-only and query-only rules behave as before (#2853)

Fixed

  • A discoverable validator that derives from a non-generic intermediate base class no longer fails discovery with an IndexOutOfRangeException, and one whose intermediate base has several generic arguments is registered for its own model instead of the first argument (#2853)