remove id fields from required array
This commit is contained in:
parent
772a48773d
commit
b9df4b6706
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue