Nicolas Morel
Nicolas Morel
You need to have a shim for String.normalize, should be fairly easy to add to your build.
First, I'd like to thank @asologor a lot for the efforts put into this PR, it helped me kick off this feature. I have implemented it in #2931, this is...
The main problem I see with your snippet is that you're using `valid`, it acts as a bypass for other rules, anything that matches will prevent other rules from being...
Your failing rule in this case is `number.base`, as shown in the details of the error, so you need to change that message.
Fixed in #2909. Thanks @patrykcieszkowski, and sorry it took so long.
It looks like an HTML entity escaping issue, I'm uncertain if it's joi's fault. Can you provide a reproducible snippet that demonstrates the issue?
You can also keep the same schema and use multiple languages, like in [this example](https://github.com/hapijs/joi/blob/master/test/errors.js#L176-L196).
Because while it works well for some people and I thank @jeffbski for making it, I disagree with the philosophy of this ecosystem. https://github.com/hapijs/joi/issues/944 That is unless you have a...
Hi @trentm, sorry to bump such an old issue, but I'm wondering if it still holds true to this day with a node@18 and [email protected] for example. I've been experimenting...
You should probably look at joi docs for joi usage, not here. The answer is `Joi.string().allow('')`.