Skip to content

Commit 00356f8

Browse files
committed
set prototype of ResultWrapper proxy to class prototype
1 parent 33ae226 commit 00356f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/cubejs-backend-native/js/ResultWrapper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export class ResultWrapper extends BaseWrapper implements DataResult {
112112
return [...Object.keys(target), ...Object.keys(array), 'length', 'isNative'];
113113
}
114114
});
115+
Object.setPrototypeOf(this.proxy, ResultWrapper.prototype);
115116

116117
return this.proxy;
117118
}

0 commit comments

Comments
 (0)