You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fix(client): make unstable cmds throw (#2990)
As per the docs, unstableResp3 commands should throw when client is created with { RESP: 3, unstableResp3: false|undefined } fixes #2989
This commit is contained in:
committed by
GitHub
parent
ca91718b59
commit
62ac8b7c32
@@ -42,9 +42,9 @@ RESP3 uses a different mechanism for handling Pub/Sub messages. Instead of modif
|
||||
|
||||
## Known Limitations
|
||||
|
||||
### Unstable Module Commands
|
||||
### Unstable Commands
|
||||
|
||||
Some Redis module commands have unstable RESP3 transformations. These commands will throw an error when used with RESP3 unless you explicitly opt in to using them by setting `unstableResp3: true` in your client configuration:
|
||||
Some Redis commands have unstable RESP3 transformations. These commands will throw an error when used with RESP3 unless you explicitly opt in to using them by setting `unstableResp3: true` in your client configuration:
|
||||
|
||||
```javascript
|
||||
const client = createClient({
|
||||
|
Reference in New Issue
Block a user