MCPcopy
hub / github.com/strongloop/loopback / conflict

Function conflict

lib/persisted-model.js:1570–1578  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1568 });
1569
1570 function conflict() {
1571 // The instance already exists - report a conflict
1572 debug('Detected non-rectified new instance of %s %j',
1573 Model.modelName, id);
1574 conflicts.push(change);
1575
1576 const Change = Model.getChangeModel();
1577 return Change.rectifyModelChanges(Model.modelName, [id], cb);
1578 }
1579 }
1580
1581 function applyDelete(Model, id, current, change, conflicts, options, cb) {

Callers 1

applyCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…