Files
kami-parse-server/spec
Guido Ruiz bf033becbd Properly handle return values in beforeSave (#5228)
* added failing test case to CloudCode.spec.js

a possible bug found where beforeSave does not apply changes to request
object if the beforeSave hook ends with 'true' returned

* moddified triggers to return null when beforeSave
also changed test cases to be more descriptive + added extra test case that returns promise in the beforeSave

* address original issue

* Revert "address original issue"

This reverts commit e01c57d1de5c4b2fe21e9ebd590211d21330cdda.

* fix promises and tests

* Add a test to verify that a failed beforeChange hook will
prevent updating the object.
2019-03-14 13:17:29 -05:00
..
2018-07-01 00:00:37 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-10-17 17:53:49 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2019-02-23 07:28:39 -08:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2019-02-23 07:28:39 -08:00