暂时去掉一个不确定的Assert

This commit is contained in:
Xu Chang 2025-03-28 14:02:02 +08:00
parent cef1385182
commit d0d26acdf6
3 changed files with 3 additions and 3 deletions

View File

@ -502,7 +502,7 @@ export class Cache extends Feature {
}
});
pull(rows, ...unwanted);
assert(rows.length === Object.keys(sr).length);
// assert(rows.length === Object.keys(sr).length);
}
get(entity, selection, sr) {
const rows = this.getInner(entity, selection);

View File

@ -505,7 +505,7 @@ class Cache extends Feature_1.Feature {
}
});
(0, lodash_1.pull)(rows, ...unwanted);
(0, assert_1.assert)(rows.length === Object.keys(sr).length);
// assert(rows.length === Object.keys(sr).length);
}
get(entity, selection, sr) {
const rows = this.getInner(entity, selection);

View File

@ -664,7 +664,7 @@ export class Cache<ED extends EntityDict & BaseEntityDict> extends Feature {
);
pull(rows, ...unwanted);
assert(rows.length === Object.keys(sr).length);
// assert(rows.length === Object.keys(sr).length);
}
get<T extends keyof ED>(