tableshape
tableshape copied to clipboard
Get name of failed field
Is this possible? I'm looking to replace lapis.validate with this but there doesn't appear to be a equivalent to the { keys = true } option that validate takes in lapis. I use this to know what field to show the error on in larger forms.
Maybe this could be added as a third return value to type(value), type:check_value(value) and type.transform(value)?