KValidation
KValidation copied to clipboard
Enhancement: Add propertyName to ValidationError
Presently the property name is added to the debugMessage. It would be useful to have the propertyName in the ValidationError. I am sending a list of errors to a client that maps them to inputs with the same name. I need to slice the property name out of the message, e.g. "planName: name must be at least 3 characters long".