This method will set a label that can be used in validation error details and messages
import Schema from "@rapidom/schema"; const Validator = Schema.number().label("age");
Schema types array & object will override the given type labels in items & keys methods
Last updated 4 years ago