Skip to content

Change alternatives to be consistent with other spread arguments #2065

@hueniverse

Description

@hueniverse

Change alternatives.try() to no longer support an array of alternatives.
Support multiple arguments in Joi.alternatives() alongside a single array.

Metadata

Metadata

Assignees

Labels

breaking changesChange that can breaking existing code

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions