Skip to content

Rename Instance to IsInstanceOf #1651

@henriquemoody

Description

@henriquemoody

Not critical, but I think Instance is a bit cryptic, and doesn't really reflect the intent.

Side track here is that the best name would be InstanceOf, and the problem is that we can't rename classes like that, but we could still have a method with that name. If we change how the ValidatorFactor works to try loading a validator with a suffix Validator we could achieve that. I'm not saying we should rename all validators by adding a suffix to them, but we could also try loading a validator with that suffix.

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