type-mongodb
Advanced tools
Comparing version 0.0.1-beta4 to 0.0.1-beta5
@@ -112,6 +112,6 @@ "use strict"; | ||
const RepositoryClass = def.repository ? def.repository() : repository_1.Repository; | ||
const repository = this.opts.dm.container.get(RepositoryClass); | ||
if (isPromise_1.isPromise(repository)) { | ||
yield repository; | ||
} | ||
const repositoryOrPromise = this.opts.dm.container.get(RepositoryClass); | ||
const repository = isPromise_1.isPromise(repositoryOrPromise) | ||
? yield repositoryOrPromise | ||
: repositoryOrPromise; | ||
repository.manager = this.opts.dm; | ||
@@ -118,0 +118,0 @@ const meta = new DocumentMetadata_1.DocumentMetadata({ |
{ | ||
"name": "type-mongodb", | ||
"version": "0.0.1-beta4", | ||
"version": "0.0.1-beta5", | ||
"description": "A simple decorator based MongoDB ODM.", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176834