loopback-datasource-juggler/lib
Miroslav Bajtoš ef0257e338
datasource: copy settings object in constructor
Fix DataSource constructor to create a shallow copy of the settings
object provided by the caller. This prevents surprising behavior
where changes made to `ds.settings` were picked up by the provided
config object, as observed e.g. in tests of our MongoDB connector.
2019-05-10 14:56:02 +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 chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
datasource.js datasource: copy settings object in constructor 2019-05-10 14:56:02 +02:00
date-string.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04: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 chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
relation-definition.js chore: update copyrights years (#1737) 2019-05-08 11:45:37 -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