Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change alternatives to be consistent with other spread arguments #2065

Closed
hueniverse opened this issue Aug 22, 2019 · 1 comment
Closed

Change alternatives to be consistent with other spread arguments #2065

hueniverse opened this issue Aug 22, 2019 · 1 comment
Assignees
Labels
breaking changes Change that can breaking existing code
Milestone

Comments

@hueniverse
Copy link
Contributor

hueniverse commented Aug 22, 2019

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

@hueniverse hueniverse added the breaking changes Change that can breaking existing code label Aug 22, 2019
@hueniverse hueniverse added this to the 16.0.0 milestone Aug 22, 2019
@hueniverse hueniverse self-assigned this Aug 22, 2019
@hueniverse
Copy link
Contributor Author

Updates #1644

@hueniverse hueniverse changed the title Review all functions for consistent handling of array arguments Change alternatives to be consistent with other spread arguments Aug 22, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking changes Change that can breaking existing code
Projects
None yet
Development

No branches or pull requests

1 participant