1. 13 Jul, 2019 1 commit
    • Nathan Harris's avatar
      Make `RedisConnection.sendCommandsImmediately` public · fae8eada
      Nathan Harris authored
      Motivation:
      
      During the refactor work (commit ea7c755d) that was merged with MRs !71 and !53 - `sendCommandsImmediately` was accidentally lowered to `internal`
      
      Modifications:
      
      Properly mark `RedisConnection.sendCommandsImmediately` as `public`
      
      Result:
      
      Developers should now have proper access to the `sendCommandsImmediately` property
      fae8eada
  2. 09 Jul, 2019 3 commits
    • 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
    • Nathan Harris's avatar
      Rename `RedisCommand` properties to avoid overloading terms and being more specific. · 26057638
      Nathan Harris authored
      Motivation:
      
      There are several cases where "command" could refer to a command keyword, or an entire message (keyword + args). This made working with `RedisCommand` and it's documentation ambiguous.
      
      Modifications:
      
      - Rename `RedisCommand.command` to `message`
      - Rename initializer labels to `message` and `responsePromise`
      
      Result:
      
      When encountering a `RedisCommand` everyone should know that they are dealing with a message that should be sent to Redis as soon as possible.
      26057638
    • Nathan Harris's avatar
      7e7e3546