Skip to content
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

Adjust KnownExceptionValidationBehavior 使用 ValidateAsync 以支持异步验证器 #88

Merged
merged 4 commits into from
Oct 28, 2024

Conversation

Zzzzjle
Copy link
Contributor

@Zzzzjle Zzzzjle commented Oct 19, 2024

@Zzzzjle Zzzzjle closed this Oct 22, 2024
@Zzzzjle Zzzzjle reopened this Oct 25, 2024
@Zzzzjle
Copy link
Contributor Author

Zzzzjle commented Oct 25, 2024

#90

Copy link
Member

@witskeeper witskeeper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在ProgramTests中添加一个 post /api/order 测试用例,在CreateOrderCommandValidator中添加一个异步的case,以确定验证器与异常处理器工作符合预期

Copy link
Member

@witskeeper witskeeper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看起来没问题

@witskeeper witskeeper merged commit d61bb54 into netcorepal:main Oct 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants