Skip to content

Commit

Permalink
Disable min/max enforcement
Browse files Browse the repository at this point in the history
Relates-to: orientechnologies/orientjs#377
Relates-to: KBDEV-178,KBDEV-343
  • Loading branch information
creisle committed Jun 26, 2019
1 parent 4ccc164 commit e40dd16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/repo/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ class Property extends kbSchema.Property {
if (model.default !== undefined) {
dbProperties.default = model.default;
}
/** TODO: pending resolution https://github.com/orientechnologies/orientjs/issues/377
if (model.min !== undefined) {
dbProperties.min = model.min;
}
if (model.max !== undefined) {
dbProperties.max = model.max;
}
} */

return dbClass.property.create(dbProperties);
}
}
Expand Down

0 comments on commit e40dd16

Please sign in to comment.