mongoose-schema-extend
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -14,2 +14,11 @@ var mongoose = require('mongoose'), | ||
// Fix for callQueue arguments, todo: fix clone implementation | ||
newSchema.callQueue.forEach(function(k) { | ||
var args = []; | ||
for(var i in k[1]) { | ||
args.push(k[1][i]); | ||
} | ||
k[1] = args; | ||
}); | ||
// Override the existing options with any newly supplied ones | ||
@@ -16,0 +25,0 @@ for(var k in options) { |
{ | ||
"name": "mongoose-schema-extend", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "mongoose schema inheritance and discriminator key extension", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
8629
165