Set warning on V3 function useage?
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- node.js, redis, typescript
调研方向
该 issue 没有指定文件或测试。首先定位允许 V3 命令的 V4 兼容路径和命令分发逻辑;明确完成意味着警告、错误还是可配置的选择,然后在启用兼容性时为使用 V3 命令添加测试覆盖。
由索引模型根据 Issue 内容生成。
描述
Feature Request
When using V4, it's possible to set it to allow V3 commands.
Would it be possible to add a flag to log a warning, or maybe even throw an error, when V3 commands are executed? This may help larger projects with migrating.
If you feel like this is a good idea, I'm happy to work on it myself, as I'm fighting the callback based system, but don't want to put in hours searching for every redis command usage in my project.
Environment
- Node.js Version:
v16.3.0
- Redis Version:
Redis server v=6.2.4 sha=00000000:0 malloc=jemalloc-5.2.1 bits=64 build=9fa5a1dac846b927
- Platform:
Linux REDACTED 5.12.9-1-MANJARO #1 SMP PREEMPT Thu Jun 3 14:56:42 UTC 2021 x86_64 GNU/Linux
- 主要语言
- TypeScript
- 星标
- 17.6k
- 派生
- 2k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 62
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
redis/node-redis 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
redis/node-redis#3664 · 1 条评论 ·
维护者通常 1 天内回复
-
After a MOVING handoff, a client never becomes ready again on reconnect可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 68/100
redis/node-redis#3705 ·
维护者通常 1 天内回复
-
accepted Bug
难度 3/5 1-2 天 新手友好度 52/100
redis/node-redis#3674 · 1 条评论 ·
维护者通常 1 天内回复
-
Support Uint8Array values for zero-copy transfer to worker_threads可能已有人在做 @umeshmore45 于 286 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 45/100
redis/node-redis#3106 · 3 条评论 ·
维护者通常 1 天内回复
-
`RedisClientType` type is slow to typecheck (TS performance issue)可能重新可做 @nkaradzhov 于 556 天前认领,目前没有进行中的 PR。 未关闭Bug
redis/node-redis#2975 · 30 条评论 · 27 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
dependencies effort: small good first issue priority: low
难度 1/5 1-3 小时 新手友好度 88/100
TMHSDigital/screencast-mcp#509 ·
维护者通常 1 天内回复
-
from-review tech-debt testing
难度 2/5 1-3 小时 新手友好度 82/100
blamechris/chroxy#9520 ·
维护者通常 1 天内回复
-
area:web complexity:S priority:P2 type:chore
难度 2/5 1-3 小时 新手友好度 84/100
nahuelcostac/agent-hub#104 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
snaglet-org/snaglet#78 ·
维护者通常 1 天内回复
-
agent/guide documentation help wanted stage/010-actionable
难度 1/5 1 小时以内 新手友好度 82/100
kubestellar/console-marketplace#1101 ·
维护者通常 1 天内回复