You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that we now have "RESP2/RESP3 Reply" for each command.
However, for commands returning a set, it's documented as an array, which is just very wrong in any language where a set is not the same thing as an array. For SMEMBERS it says
I guess this is based on the reply JSON-schema redis/redis#10273, but since there are no sets in JSON, it doesn't distinguish between a set and an array. The schema for SMEMBERS says
"reply_schema": {
"type": "array",
"description": "All elements of the set.",
"uniqueItems": true,
"items": {
"type": "string"
}
},
Would it be safe to use this "uniqueItems" field to indicate that it's actually a set? @guybe7
It would be a good idea to:
see discussion in redis/redis#12466
The text was updated successfully, but these errors were encountered: