parse-community / parse-community/parse-server

Inbuilt Validator on Schema

Open
#7,013 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.