Skip to content

Inbuilt Validator on Schema #7013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dblythy opened this issue Nov 17, 2020 · 1 comment
Open

Inbuilt Validator on Schema #7013

dblythy opened this issue Nov 17, 2020 · 1 comment
Labels
type:feature New feature or improvement of existing feature

Comments

@dblythy
Copy link
Member

dblythy commented Nov 17, 2020

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.

@mtrezza
Copy link
Member

mtrezza commented Nov 17, 2020

Thanks for suggesting.

This seems to be a useful feature for Parse Server. Do you have any specific solution in mind?

@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

2 participants