Composing Schemas and Overwriting Error Messages
How can I compose schemas together and overwrite their error messages? Take this as an example:
I have defined a
I have defined a
NonEmptyString50 which I would like to compose with other schemas however I don't want to define error messages at the NonEmptyString50 level because it doesn't have enough context. I would like to define the error messages at the highest level if possible, does anyone know if it is possible?