fix: adds tests
This commit is contained in:
1 parent
fa1fe9d619
commit
69442a1735
6 files changed
+229
-2240
No files matched your search
@@ -351,7 +351,7 @@ function registerModels(pluginDetails, container) {
|
||||
if (typeof val === "function" || val instanceof EntitySchema) {
|
||||
const name = formatRegistrationName(fn)
|
||||
container.register({
|
||||
[name]: asClass(val),
|
||||
[name]: asValue(val),
|
||||
})
|
||||
|
||||
container.registerAdd("db_entities", asValue(val))
|
||||
|
||||
Reference in new issue
Block a user