-
Proper validation is always important.
Joi support needs to be added in the mongoose schema to support various validation.
Reference:
https://hapi.dev/module/joi/
-
### Runtime
browser
### Runtime version
125
### Module version
17.13.0
### Used with
standalone
### Any other relevant information
_No response_
### What problem are you …
-
``` javascript
var category = harvester
.resource('categories', {
name: Joi.string().required().description('a name'),
links: {
brand: 'brands'
…
-
This validator looks like what I need, but as soon as I try to put a number in the schema I get horrible errors. Here is reproduction code, just slightly modified version of your type extraction examp…
-
Thanks for your great library!
I am wondering if it would be possible to define conditional validation rules in a json schema, since I used this feature a lot with Joi.
Taken from their examples…
-
**Is your feature request related to a problem? Please describe.**
Conditional components were previously removed because it was reported to be an accessibility issue. GDS and W3C have since confir…
-
### Describe the Bug
Hello,
parts of field validations are not working as expected.
### To Reproduce
Example 1
1. Create a simple String Field 'A' in Directus Users.
2. Create Many to…
-
Hi, I just wanted to drop in here and see if I could get some cooperation to update the documentation a bit. I understand the validation is done using Joi, and I have been able to triangulate between …
-
# Issue
## Environment
Node 12, hapi 18, joi 16, hapi-swagger 11.1.0
## Steps to Reproduce
Use Joi [object.rename(from, to, options)](https://hapi.dev/family/joi/api/?v=17.0.0#objectrename…
-
I am facing SyntaxErro while trying to import from express-joi-validation:
`
import { ContainerTypes, createValidator, } from 'express-joi-validation';
^^^^^^^^^^^^^^
SyntaxError: Named…