Skip to content

Question - Distinguish different validators #144

Description

@Shayan-To

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions