balderdashy / balderdashy/sails
Nested JSON inputs validation
- Dominant language
- JavaScript
- Stars
- 22.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
Hi there!
I was wondering if it is possible to have nested parameters in inputs. Currently my code uses the type `json`, but that basically means no validation is done on parameters that are not in the first JSON level. I am pretty sure I am not alone wondering how to do proper validation of parameters with a nested structure.
Thanks!
Contributor guide
Research direction
Start by reviewing how `json` inputs are currently handled and read the existing 22-comment discussion for the expected validation behavior. The issue does not name files, tests, or an entry point; done would mean nested parameters receive proper validation rather than only first-level parameters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100