cloudboost icon indicating copy to clipboard operation
cloudboost copied to clipboard

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

Open danibjor opened this issue 8 years ago • 1 comments

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

danibjor avatar Oct 07 '16 11:10 danibjor

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

nawazdhandala avatar Oct 07 '16 11:10 nawazdhandala