We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99c9465 commit 1ccf5d6Copy full SHA for 1ccf5d6
packages/client/lib/RESP/types.ts
@@ -314,11 +314,17 @@ export interface CommanderConfig<
314
functions?: F;
315
scripts?: S;
316
/**
317
- * TODO
+ * Specifies the Redis Serialization Protocol version to use.
318
+ * RESP2 is the default (value 2), while RESP3 (value 3) provides
319
+ * additional data types and features introduced in Redis 6.0.
320
*/
321
RESP?: RESP;
322
323
+ * When set to true, enables commands that have unstable RESP3 implementations.
324
+ * When using RESP3 protocol, commands marked as having unstable RESP3 support
325
+ * will throw an error unless this flag is explicitly set to true.
326
+ * This primarily affects modules like Redis Search where response formats
327
+ * in RESP3 mode may change in future versions.
328
329
unstableResp3?: boolean;
330
}
0 commit comments