client.batch is not a function
Open
Nobody has claimed this yet.
Documentation
- Dominant language
- TypeScript
- Stars
- 17.6k
- Forks
- 2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 40
Description
When updating from v3->v4 I can no longer use the batch() function on the redisClient object.
The migration guide makes no reference of this being unsupported.
setting legacyMode to true does not resolve this.
Environment:
- Node.js Version: v14" -->
- Node Redis Version: 4.0.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the missing batch() call with Node.js v14 and node-redis 4.0.1, then read the v3-to-v4 migration guide and the legacyMode behavior. Compare the documented and actual client API to determine whether batch() should be supported or documented as unavailable; done means the behavior and migration guidance are consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, redis, typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100