09cc57c061
Fix the problem where `registry.defaultDataSources` has two instances: - `require('loopback').defaultDataSources` used by `loopback.autoAttach()` - `require('./registry').defaultDataSources` used by `app.dataSource`. I am intentionally leaving out unit-tests as the whole `autoAttach` feature is going to be deleted before 2.0 is released. |
||
---|---|---|
.. | ||
connectors | ||
middleware | ||
models | ||
application.js | ||
browser-express.js | ||
compat.js | ||
express-middleware.js | ||
loopback.js | ||
registry.js | ||
runtime.js |