-
Hi. I discovered that the joi validator decorator isn't sending the error to the general error middleware. it just throws the error and crashes the server if there is an error in the request object. I…
-
-
**Describe the bug**
When using a joiResolver together with a .custom() validation function and mode 'all' it only updates the error state on submit and not on change or on blur
**To Reproduce**
…
-
### Runtime
browser
### Runtime version
125
### Module version
17.13.0
### Used with
standalone
### Any other relevant information
_No response_
### What problem are you …
-
I have a fairly complex validation object shared on multiple routes. Sometimes with slight modifications which are handled by joi.alternatives:
```
//generic.id = Joi.alternatives().try(
// Joi.stri…
Gregy updated
6 years ago
-
### Build/Submit details page URL
_No response_
### Summary
When running `eas build` with a [$schema definition](https://json-schema.org/learn/getting-started-step-by-step#create-a-schema-definitio…
-
In the latest version of the Joi, the validation method is called in the schema context, instead of the usual library context
Examples
Before:
```Joi.validate(value, schema, [options], [callback]…
-
Hi,
the validator throws an error if a string property is empty, e.g. `phone = ''`. I defined the property `phone` on the model as follows:
```
phone: {
type: 'string',
required: false,
}…
-
Client-side validation is fine for private bots but server-side validation is needed for two reasons:
- lack of validation can be abused to create a lot of errors on the public bot
- HTML/browser va…
-
#### Context
* *node version*: 8.10
* *joi version*: 13.1.2
* *joi-browser version: 13.0.1
* *environment* (node, browser): Browser
* *used with* (hapi, standalone, ...): Standalone
* *any oth…