You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the use of MongoDB in a lot of nodejs applications, a string hex validator would be really useful. This would allow an application to validate a mongo id w/o having to call the db with Joi.string().length(24).hex()
The text was updated successfully, but these errors were encountered:
Hex seems like a more reusable validator function. IE: mac addresses, serial numbers, etc and it's not another package to have to include. You can close out if you want since there's already a solution and it's a subjective decision.
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.
lockbot
locked as resolved and limited conversation to collaborators
Jan 9, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
With the use of MongoDB in a lot of nodejs applications, a string hex validator would be really useful. This would allow an application to validate a mongo id w/o having to call the db with Joi.string().length(24).hex()
The text was updated successfully, but these errors were encountered: