We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6470faf commit 120d397Copy full SHA for 120d397
src/sync/impl/helpers.js
@@ -67,7 +67,9 @@ export function requiresUpdate<T: Model>(
67
shouldUpdateRecord?: SyncShouldUpdateRecord,
68
): boolean {
69
if (shouldUpdateRecord) {
70
- return shouldUpdateRecord(collection.table, local, dirtyRemote)
+ if (!shouldUpdateRecord(collection.table, local, dirtyRemote)) {
71
+ return false;
72
+ }
73
}
74
75
if (local._status !== 'synced') {
0 commit comments