Compare commits

...

2 Commits

@ -147,7 +147,8 @@ module.exports = function (modules) {
if (!cache.has(moduleID)) {
cache.set(moduleID, {
... baseContext,
... contextFactories.get(moduleID)()
// NOTE: Module context initialization gets access to the baseContext, for user-level overrides (eg. passing in transaction objects for a query)
... contextFactories.get(moduleID)(baseContext)
});
}

@ -1,6 +1,6 @@
{
"name": "dlayer",
"version": "0.2.1",
"version": "0.2.2",
"main": "index.js",
"repository": "https://git.cryto.net/joepie91/dlayer.git",
"author": "Sven Slootweg <admin@cryto.net>",

Loading…
Cancel
Save