Is there a way to distinguish different validators when generating messages?
Consider this code:
const validator1 = vine.create({ test: vine.string() });
const validator2 = vine.create({ test: vine.string() });
Can the two validators have a name or something so I can distinguish them when generating messages? And I'd rather not have different MessagesProviders for every validator I create.
Is there a way to distinguish different validators when generating messages?
Consider this code:
Can the two validators have a
nameor something so I can distinguish them when generating messages? And I'd rather not have differentMessagesProviders for every validator I create.