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

Undocumented strip option on Joi.validate #1714

Closed
FallingSnow opened this issue Feb 1, 2019 · 3 comments
Closed

Undocumented strip option on Joi.validate #1714

FallingSnow opened this issue Feb 1, 2019 · 3 comments
Assignees
Labels
bug Bug or defect
Milestone

Comments

@FallingSnow
Copy link

Missing documentation on the strip option for the Joi.validate function.

@sholladay
Copy link

sholladay commented Feb 6, 2019

I traced it through the git history and the strip boolean was added to lib/any.js in c2841eb and then that code was moved to lib/schemas.js in 0fd577a. Hopefully those commits will provide some insight. :)

@Marsup Marsup closed this as completed in c478f7f Apr 10, 2019
@Marsup
Copy link
Collaborator

Marsup commented Apr 10, 2019

This option is apparently never used, I also removed raw which was in the same case.

@Marsup Marsup self-assigned this Apr 10, 2019
@Marsup Marsup added the bug Bug or defect label Apr 10, 2019
@Marsup Marsup added this to the 15.0.1 milestone Apr 10, 2019
@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
bug Bug or defect
Projects
None yet
Development

No branches or pull requests

3 participants