loopback-datasource-juggler/lib
virkt25 9bd7f8d02f
fix: regression on Operation Hooks
Fix the regression introduced by 9af79cf51a where updateAttributes
and replaceAttributes was incorrectly handling the response returned
by the database.

This commit restores the old behaviour where `context.data` is updated
only by a connector-provided function and reverts an incorrect change
of a test file made as part of the faulty fix.

Besides the fixes, this patch also renames `data` to `dbResponse` and
add comments explaining the structure of the response object for more
clarity.
2018-07-09 16:41:56 +02:00
..
connectors Update eslint + config to latest 2018-06-12 09:13:32 +02:00
kvao Refactor flush to deleteAll 2017-01-09 14:53:34 -08:00
browser.depd.js Fix manually 2016-08-22 19:20:12 -04:00
dao.js fix: regression on Operation Hooks 2018-07-09 16:41:56 +02:00
datasource.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
date-string.js Add DateString type 2017-05-01 12:28:59 -04:00
geo.js Fix/geo null (#1334) 2017-04-24 19:28:11 -04:00
hooks.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
include.js include: remove JSDoc refs to recursive calls 2017-05-24 17:10:45 -04:00
include_utils.js Fix manually 2016-08-22 19:20:12 -04:00
introspection.js Fix manually 2016-08-22 19:20:12 -04:00
jutil.js Fix manually 2016-08-22 19:20:12 -04:00
list.js Fix tests to ensure compatibility w/ should@10 2018-05-24 14:21:12 -07:00
mixins.js Fix manually 2016-08-22 19:20:12 -04:00
model-builder.js feat: remove a Model from all registries 2018-04-16 14:24:53 +02:00
model-definition.js Fix model def column name method (#1224) 2017-04-05 15:12:27 -04:00
model.js Allow toObject() to accept an 'options' argument 2018-05-10 10:18:55 -07:00
observer.js Fix mixins/validatable docs 2017-06-06 14:21:49 -04:00
relation-definition.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
relations.js Fix mixins/validatable docs 2017-06-06 14:21:49 -04:00
scope.js Fix query for related models (#1522) 2017-11-14 14:22:48 -05:00
transaction.js Add a better way to handle transactions 2017-09-06 07:10:57 +02:00
types.js Add DateString type 2017-05-01 12:28:59 -04:00
utils.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00
validations.js Update eslint + config to latest 2018-06-12 09:13:32 +02:00