diff --git a/lib/model-helper.js b/lib/model-helper.js index 7aede9e..2e8e5fe 100644 --- a/lib/model-helper.js +++ b/lib/model-helper.js @@ -77,7 +77,7 @@ var modelHelper = module.exports = { } // Required props sit in a per-model array. - if (prop.required || (prop.id && !prop.generated)) { + if (prop.required) { required.push(key); }