model-generator
Advanced tools
Comparing version 0.7.3 to 0.7.4
@@ -78,5 +78,8 @@ let DefaultValidators = require('./defaultValidators'); | ||
Structure.properties.forEach(function(prop) { | ||
if(this[prop.Name]){ | ||
if (typeof this[prop.Name].getCleanModel === "function") { | ||
console.log(this[prop.Name]); | ||
} | ||
} | ||
} | ||
ModelToReturn[prop.Name]=this[prop.Name]; | ||
@@ -83,0 +86,0 @@ }, this); |
{ | ||
"name": "model-generator", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"description": "Model generator for applications that need models with typings and validation without the help of typescript", | ||
@@ -5,0 +5,0 @@ "main": "ModelGeneratorModule.js", |
18396
331