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

Add optional "config" param to array.unique for ignoreUndefined. Closes #1498 #1511

Merged
merged 1 commit into from
Jun 9, 2018

Conversation

WesTyler
Copy link
Contributor

Add the optional second param to array.unique, per the discuss in #1498 .

I named the param configs to avoid shadowing the already-defined options param in the test callback. Let me know if you prefer some other param name.

@Marsup Marsup self-assigned this Jun 9, 2018
@Marsup Marsup added the feature New functionality or improvement label Jun 9, 2018
@Marsup Marsup added this to the 13.5.0 milestone Jun 9, 2018
@Marsup Marsup merged commit 83eb8eb into hapijs:master Jun 9, 2018
robmcguinness pushed a commit to hapi-swagger/hapi-swagger that referenced this pull request Apr 30, 2019
@see hapijs/joi#1511

unique args now include ingoreUndefined: false as default.
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@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
feature New functionality or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants