redis / redis/node-redis

Add support for spread operator in hSet (migration issue from v3)

Open
#2,138 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Documentation Evaluating
Dominant language
TypeScript
Stars
17.6k
Forks
2k
Avg merge
2d 3h
Merged PRs (30d)
40

Description

Hi,

It would be nice to add support for hSet with spread operator on field -> value pairs.

In v3 it worked like charm, so we need either to include this in the migration guide/support this.

Thanks!
-m

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the hSet implementation and its tests, then compare the current behavior with the v3 migration guidance. Confirm how spread field-to-value pairs were accepted in v3 and define done as supporting that usage or documenting the incompatibility in the migration guide, with tests covering the chosen behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
redis, typescript
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.