Skip to content
  • Nathan Harris's avatar
    Iterate on type safety for `zadd` · 0ecb3c1e
    Nathan Harris authored
    Motivation:
    
    Issue #60 called for improving the type safety of the options available for the `zadd` command, and MR !70 made some great headway, but attempted to cram too much into a single enum.
    
    Modifications:
    
    - Break the `RedisSortedSetAddOption.returnChangedCount` value into an additional boolean param
    
    Result:
    
    Using `zadd` should now be more straight forward, while being type safe.
    0ecb3c1e