We should not allow passing cross slots channel names to the command builder of the PUBSUB SHARDNUMSUB command.
See valkey-io/valkey#1369 (comment)
Todos:
Update the type from string to key.
|
"PUBSUB SHARDNUMSUB": { |
|
"arguments": [ |
|
{ |
|
"name": "channel", |
|
"type": "string", |
Then regenerate the command builder by running go generate.