Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Web Development
>
Web Framework
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
9.9K
Star
14.5K
Fork
4.2K
GVP
dotNET China
/
Furion
Code
Issues
0
Pull Requests
0
Insights
Pipelines
Service
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
数据校验方法增加上下文字典参数
Done
#I7Z74Y
taoran
Opened this issue
2023-09-06 21:47
### 版本号 4.8.8.42 (最新) ### .NET SDK .NET8 ### 项目类型 WebApi ### 操作系统 Windows 11 ### 运行环境 开发环境 (Development) ### 数据库类型 Sqlite ### 应用托管程序 Kestrel ### 这个问题是否已经存在? - [x] 我已经搜索过现有的问题 (https://gitee.com/dotnetchina/Furion/issues) ### 如何复现 文档 8.12 中写到: Furion 内置的验证已经可以满足绝大多数校验情况,但是对于 场景 验证目前暂未支持。这里推荐集成 FluentValidation 第三方校验组件。 我们可以增加上下文字典参数,轻松支持场景验证。 另外,FluentValidation 官方已停止维护 FluentValidation.AspNetCore ,也不推荐使用。而是首推手动验证。 https://docs.fluentvalidation.net/en/latest/aspnet.html#using-the-asp-net-validation-pipeline ### 预期结果 校验相关方法增加上下文字典参数 ### 实际结果 目前校验方法无字典参数 ### 异常信息 ### 截图或视频  ### Demo 地址(Git/网盘/SVN) PR ### 友好承诺 - [x] 我承诺将本着相互尊重、理解和友善的态度进行交流,共同维护好 Furion 来之不易的良好的社区氛围。
### 版本号 4.8.8.42 (最新) ### .NET SDK .NET8 ### 项目类型 WebApi ### 操作系统 Windows 11 ### 运行环境 开发环境 (Development) ### 数据库类型 Sqlite ### 应用托管程序 Kestrel ### 这个问题是否已经存在? - [x] 我已经搜索过现有的问题 (https://gitee.com/dotnetchina/Furion/issues) ### 如何复现 文档 8.12 中写到: Furion 内置的验证已经可以满足绝大多数校验情况,但是对于 场景 验证目前暂未支持。这里推荐集成 FluentValidation 第三方校验组件。 我们可以增加上下文字典参数,轻松支持场景验证。 另外,FluentValidation 官方已停止维护 FluentValidation.AspNetCore ,也不推荐使用。而是首推手动验证。 https://docs.fluentvalidation.net/en/latest/aspnet.html#using-the-asp-net-validation-pipeline ### 预期结果 校验相关方法增加上下文字典参数 ### 实际结果 目前校验方法无字典参数 ### 异常信息 ### 截图或视频  ### Demo 地址(Git/网盘/SVN) PR ### 友好承诺 - [x] 我承诺将本着相互尊重、理解和友善的态度进行交流,共同维护好 Furion 来之不易的良好的社区氛围。
Comments (
1
)
Sign in
to comment
Status
Done
Backlog
Doing
Done
Closed
Assignees
Not set
Labels
Not set
Label settings
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
参与者(2)
C#
1
https://gitee.com/dotnetchina/Furion.git
git@gitee.com:dotnetchina/Furion.git
dotnetchina
Furion
Furion
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register