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-08-15 10:47:21 -04:00
2018-09-23 12:31:08 -04:00
2018-09-23 12:31:08 -04:00
2018-07-01 00:00:37 -04:00
2018-08-05 13:58:07 -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-01-04 14:22:46 -05:00
2018-09-24 17:07:51 -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-03-14 13:17:29 -05:00
2019-03-14 13:17:29 -05:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-24 17:07:51 -04:00
2018-09-24 17:07:51 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-24 17:07:51 -04:00
2018-09-04 16:15:09 -04:00
2018-09-04 16:15:09 -04:00
2018-09-04 16:15:09 -04:00
2018-10-17 17:53:49 -04:00
2018-09-23 12:31:08 -04:00
2018-09-24 17:07:51 -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-24 17:07:51 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-24 17:07:51 -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
2019-01-01 13:43:50 -05: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-24 17:07:51 -04:00
2018-09-01 13:58:06 -04:00
2018-09-24 17:07:51 -04:00
2018-09-01 13:58:06 -04:00
2018-09-24 17:07:51 -04:00
2018-09-24 17:07:51 -04:00
2018-09-24 17:07:51 -04:00
2018-09-24 17:07:51 -04:00
2018-09-24 17:07:51 -04:00
2019-02-23 07:28:39 -08:00
2018-09-08 20:05:32 -04:00
2018-09-24 17:07:51 -04:00
2018-09-01 13:58:06 -04:00
2018-10-26 10:21:42 -05:00
2018-09-24 17:07:51 -04:00
2018-12-19 17:57:55 -06: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-01-04 14:23:27 -05:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2019-02-28 13:17:31 -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-24 17:07:51 -04:00
2018-09-23 12:31:08 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-24 17:07:51 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-24 17:07:51 -04:00
2018-09-01 13:58:06 -04:00
2018-09-01 13:58:06 -04:00
2018-09-24 17:07:51 -04:00
2019-01-04 14:22:46 -05:00
2018-09-24 17:07:51 -04:00
2019-02-23 07:28:39 -08: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
2018-10-11 09:09:56 -07:00
2018-09-24 17:07:51 -04:00
2018-09-24 17:07:51 -04:00