Skip to content
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

Option to run server side code that triggers on events - beforeSave(), afterSave() etc #92

Open
danibjor opened this issue Oct 7, 2016 · 1 comment

Comments

@danibjor
Copy link

danibjor commented Oct 7, 2016

It would be nice to be able to write server side code that get triggered on events in the API.

  • beforeSave gives you the option to do server side validation, crop/scale images etc
  • afterSave could trigger pushNotifications, update linked object with sum(childElements) for commentCount etc.
  • beforeDelete / afterDelete could maybe do cleanup work

Inspired by this: https://parseplatform.github.io/docs/cloudcode/guide/#getting-started

@nawazdhandala
Copy link
Contributor

Thanks! We've added that to our roadmap. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants