Passing A Vector of RedisModuleString to RedisModule_Call

from blog Blog on hjr265.me, | ↗ original
While building Redis Too (a recommendation engine module for Redis), I spent a good bit of time (and strands of hair) figuring out how to pass a variable number of arguments to a Redis command like “SUNION”. The format specified of the RedisModule_Call function accepts ‘v’ to denote “a vector of RedisModuleString”. But to use it, you need to pass...