Skip to content

Commit e287f10

Browse files
committed
feat: ignoreIncludeErrors flag
1 parent 77aa041 commit e287f10

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/RestQuery.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,8 +1114,6 @@ function replacePointers(object, path, replace, options = {}) {
11141114
const preserveMissing = !!options.preserveMissing;
11151115
if (object instanceof Array) {
11161116
const mapped = object.map(obj => replacePointers(obj, path, replace, options));
1117-
// TODO: Is this change really correct? If we do this then preserveMissing will essentially
1118-
// cause the array to have undefined values inside?
11191117
return preserveMissing ? mapped : mapped.filter(obj => typeof obj !== 'undefined');
11201118
}
11211119

0 commit comments

Comments
 (0)