Skip to content

Commit

Permalink
disable validateUpsert because of TimeStamp mixin (clarkbw/loopback-d…
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeorge committed Nov 15, 2015
1 parent 6d98361 commit a62d9d9
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion common/models/action.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"strict": true,
"idInjection": false,
"options": {
"validateUpsert": true
"validateUpsert": false
},
"http": {
"path": "actions"
Expand Down
2 changes: 1 addition & 1 deletion common/models/assessment.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"strict": true,
"idInjection": true,
"options": {
"validateUpsert": true
"validateUpsert": false
},
"http": {
"path": "assesments"
Expand Down
2 changes: 1 addition & 1 deletion common/models/axis.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"strict": true,
"idInjection": false,
"options": {
"validateUpsert": true
"validateUpsert": false
},
"http": {
"path": "axes"
Expand Down
2 changes: 1 addition & 1 deletion common/models/cycle-enrollment.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"base": "PersistedModel",
"idInjection": true,
"options": {
"validateUpsert": true
"validateUpsert": false
},
"http": {
"path": "cycle/enrollments"
Expand Down
2 changes: 1 addition & 1 deletion common/models/cycle.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"idInjection": true,
"strict": true,
"options": {
"validateUpsert": true
"validateUpsert": false
},
"http": {
"path": "cycles"
Expand Down
2 changes: 1 addition & 1 deletion common/models/feedback.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"strict": true,
"idInjection": true,
"options": {
"validateUpsert": true
"validateUpsert": false
},
"http": {
"path": "feedbacks"
Expand Down
2 changes: 1 addition & 1 deletion common/models/indicator.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"strict": true,
"idInjection": true,
"options": {
"validateUpsert": true
"validateUpsert": false
},
"http": {
"path": "indicators"
Expand Down
2 changes: 1 addition & 1 deletion common/models/notification-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"strict": true,
"idInjection": true,
"options": {
"validateUpsert": true
"validateUpsert": false
},
"http": {
"path": "notifications/templates"
Expand Down
2 changes: 1 addition & 1 deletion common/models/notification.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"strict": true,
"idInjection": true,
"options": {
"validateUpsert": true
"validateUpsert": false
},
"properties": {
"subject": {
Expand Down
4 changes: 2 additions & 2 deletions common/models/organization.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"strict": true,
"idInjection": true,
"options": {
"validateUpsert": true
"validateUpsert": false
},
"http": {
"path": "organizations"
Expand Down Expand Up @@ -55,7 +55,7 @@
},
"mixins": {
"TimeStamp" : true
},
},
"acls": [
{
"accessType": "*",
Expand Down
4 changes: 2 additions & 2 deletions common/models/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"strict": true,
"idInjection": true,
"options": {
"validateUpsert": true
"validateUpsert": false
},
"properties": {
"email": {
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"mixins": {
"TimeStamp" : true
},
},
"acls": [
{
"accessType": "EXECUTE",
Expand Down

0 comments on commit a62d9d9

Please sign in to comment.