Indicative is a simple yet powerful data validator for Node.js and browsers. It makes it so simple to write async validations on nested set of data.
417
stars
52
forks
source link
Nested field does not respect validation rules #260
Open
soubhikchatterjee opened 4 years ago
There are 2 scenarios (Example2 and Example 3) in the code below where I expect the validator to behave in a certain way but it doesn't.
For eg,
Can you please check and let me know if I am missing something?
Package version
7.2.1
Node.js and npm version
node: v12.4.0 npm - 6.14.4
Sample Code (to reproduce the issue)
BONUS (a sample repo to reproduce the issue)
https://codesandbox.io/s/cold-dawn-4fr7g?file=/src/index.js:631-635