parse-community / parse-community/parse-server
Inbuilt Validator on Schema
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 21.4k
- Forks
- 4.8k
- Avg merge
- 7h 45m
- Merged PRs (30d)
- 11
Description
Is your feature request related to a problem? Please describe.
This might be overloading schema with features, however, it could provide some value to allow developers to set a validation object to a class, which will effectively run on beforeSave.
This could developers to validate the objects that are being saved, without any use of cloud code.
Potentially, this could extend to the dashboard, allowing developers to create validation by clicking through the validation options.
Related to this community discussion.
Contributor guide
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
Start by reviewing how schemas are handled and where beforeSave validation currently occurs. Clarify the proposed validation object's scope, behavior, and whether dashboard support is included; done requires an agreed design and implementation boundary before coding can begin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100