Skip to content

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

@danibjor

Description

@danibjor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions