loopback-datasource-juggler/lib
Miroslav Bajtoš 40286fcd28
fix: report errors from automigrate/autoupdate
Defer automigrate/autoupdate until we are connected, so that connection
errors can be reported back to callers.

Fix postInit handler to not report connection error to console.log
and via dataSource "error" event in case there is already an operation
queued. When this happens, we want the error to be handled by the
queued operation and reported to its caller.

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-07-04 12:36:50 +02:00
..
connectors chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
kvao chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
browser.depd.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
dao.js Fix "access" hook for unoptimized "near" queries 2019-05-14 09:17:54 +02:00
datasource.js fix: report errors from automigrate/autoupdate 2019-07-04 12:36:50 +02:00
date-string.js Fix DateString ctor to accept DateString instances 2019-05-13 15:21:00 +02:00
geo.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
hooks.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
include.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
include_utils.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
introspection.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
jutil.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
list.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
mixins.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
model-builder.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
model-definition.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
model-utils.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
model.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
observer.js feat: after operation hook in case of errors 2019-05-31 17:12:42 +02:00
relation-definition.js Fix for #1724 - Added options to attribute updates (#1725) 2019-05-27 09:49:46 -04:00
relations.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
scope.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
transaction.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
types.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
utils.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
validations.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00