-
-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tweak RecursivePartial to accept null #600
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## master #600 +/- ##
=======================================
Coverage 99.82% 99.82%
=======================================
Files 15 15
Lines 1127 1127
Branches 255 255
=======================================
Hits 1125 1125
Misses 2 2 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
概述这个拉取请求修改了 变更
针对关联问题的评估
诗歌
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (2)src/interface.ts (2)
从字面意义上看,
当前对常规对象和数组的递归处理逻辑非常清晰,能够有效支持 为了确认所有调用点都能正确适配此变化,建议执行以下脚本检查 ✅ Verification successfulLet me gather more information about the types and their usage. 根据代码分析结果,我可以生成最终响应了:
通过分析发现:
理由:
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# 从仓库根目录搜索所有对 RecursivePartial 的引用,并展开上下文
rg -A 5 "RecursivePartial"
Length of output: 736 Script: #!/bin/bash
# 检查 NoUndefined 的定义和相关类型
rg -B 5 -A 5 "NoUndefined"
# 检查 FormInstance 的使用场景
rg -B 2 -A 2 "FormInstance"
# 检查 Values 泛型参数的实际使用情况
ast-grep --pattern 'FormInstance<$_>'
Length of output: 36264 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
this fixes ant-design/ant-design#43305
Summary by CodeRabbit
RecursivePartial<T>
类型定义,提高类型安全性FilterFunc
和GetFieldsValueConfig
类型定义