We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 803d014 commit a598416Copy full SHA for a598416
src/cursor/abstract_cursor.ts
@@ -223,9 +223,16 @@ export abstract class AbstractCursor<
223
this.cursorSession = this.cursorClient.startSession({ owner: this, explicit: false });
224
}
225
226
+ const enableUtf8Validation = options?.enableUtf8Validation;
227
+ let validation;
228
+ if (enableUtf8Validation === false) {
229
+ validation = { utf8: false };
230
+ } else {
231
+ validation = { utf8: true };
232
+ }
233
this.deserializationOptions = {
234
...this.cursorOptions,
- validation: parseUtf8ValidationOption(this.cursorOptions)
235
+ validation
236
};
237
238
0 commit comments