Nested keys example for Readme
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 440
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
To show usefulness of validating a single object with nested keys rather than lots of individual vars
```
...
```
Then the rules:
```
getRules(){
const result = {
['address.town'](val) {
... return valid
}
['address.postalcode'](val) {
... return valid
}
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the repository README as the target and find the existing validation examples. Add a concise example showing inputs named address.town and address.postalcode alongside rules for those nested keys. Done means the README clearly demonstrates validating one object with nested fields rather than separate variables.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100