Skip to content

Release v22.121.2

Choose a tag to compare

@github-actions github-actions released this 18 Oct 03:20
79dd3bd

Fixed

  • Data annotations on concept-typed (ConceptAs<T>) command properties and model-bound query parameters are now evaluated against the concept's value: [Required] rejects a concept wrapping an empty string, [Range] accepts valid values, and [StringLength] no longer throws. The validation metadata is source-generated, so it stays trim- and AOT-safe. Types without generated metadata, such as types from other assemblies, keep the previous behavior. (#2944)