60 -- Provide Strong Option Types in SortedSet Commands
Motivation:
While working through issue #59 (closed), it was noticed just how "stringly" the SortedSet command options for zadd, zinterstore, and zunionstore were, and Swift provides ways of having strong type safety for these options.
Modifications:
- Add
RedisSortedSetAddOptionandRedisSortedSetAggregateMethodto replace the String API inzadd,zinterstore, andzunionstore - Fix an implication of how
overestimatedCountBeingAddeddocumentation forArray where Element == RESPValueforadd(contentsOf:overestimatedCountBeingAdded:_:)
Result:
Users should have a more discoverable and straightforward way that isn't error prone for calling zadd, zinterstore, and zunionstore with Redis supported options.
Closes #60 (closed)