Compare commits

...

2 Commits

@ -147,7 +147,8 @@ module.exports = function (modules) {
if (!cache.has(moduleID)) { if (!cache.has(moduleID)) {
cache.set(moduleID, { cache.set(moduleID, {
... baseContext, ... 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", "name": "dlayer",
"version": "0.2.1", "version": "0.2.2",
"main": "index.js", "main": "index.js",
"repository": "https://git.cryto.net/joepie91/dlayer.git", "repository": "https://git.cryto.net/joepie91/dlayer.git",
"author": "Sven Slootweg <admin@cryto.net>", "author": "Sven Slootweg <admin@cryto.net>",

Loading…
Cancel
Save