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

Adding support for special Any type #110

Merged
merged 3 commits into from
Jul 27, 2013
Merged

Adding support for special Any type #110

merged 3 commits into from
Jul 27, 2013

Conversation

geek
Copy link
Member

@geek geek commented Jul 24, 2013

Closes #106


var t = Joi.types.Any();
verifyBehavior(t, [
[function(){ }, true],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without looking at what this method does would it be of worth to add [{}, true], [[], true] to these?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, tests added.

@geek geek merged commit 7f067d3 into hapijs:master Jul 27, 2013
@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Type.Any
2 participants