balderdashy / balderdashy/sails

Nested JSON inputs validation

Open
#6,958 22 comments 0 reactions 0 assignees View on GitHub
question try this out please
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.