Skip to content

Commit 19de81f

Browse files
committed
Don't set isDirty to true in diff callbacks
Theoretically the diff function is smart enough for this to no longer be necessary
1 parent d69135c commit 19de81f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/graph/src/-private/operations/replace-related-records.ts

-2
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ function replaceRelatedRecordsRemote(graph: Graph, op: ReplaceRelatedRecordsOper
226226
);
227227
}
228228
}
229-
relationship.isDirty = true;
230229
}
231230
addToInverse(graph, identifier, definition.inverseKey, op.record, isRemote);
232231
},
@@ -245,7 +244,6 @@ function replaceRelatedRecordsRemote(graph: Graph, op: ReplaceRelatedRecordsOper
245244
);
246245
}
247246
}
248-
relationship.isDirty = true;
249247
}
250248
removeFromInverse(graph, identifier, definition.inverseKey, op.record, isRemote);
251249
}

0 commit comments

Comments
 (0)