Skip to content

Validators are being ignored when type is an array #37

@diegohaz

Description

@diegohaz

Reported by @J-F-Liu in #35 (comment)

schema({
  correctOptions: {
    type: [String],
    minlength: 1,
  },
});

with this code, the minlength validator is ignored.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions