NotBlankNameCapable

A NameCapable whose name is not blank: an HTTP edge with Jakarta Validation refuses a command with a blank one, with the provider's default message. A type opts into it; one that wants its own message declares its own constraint on a NameCapable instead, since Bean Validation adds a subtype's constraint to an inherited one.

Properties

Link copied to clipboard
@get:NotBlank
abstract override val name: String