-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
Adjust KnownExceptionValidationBehavior 使用 ValidateAsync 以支持异步验证器
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
namespace NetCorePal.Web.Controllers.Request | ||
{ | ||
public record CreateOrderRequest(string Name, int Price, int Count); | ||
Check warning on line 3 in test/NetCorePal.Web/Controllers/Request/CreateOrderRequest.cs GitHub Actions / build
Check warning on line 3 in test/NetCorePal.Web/Controllers/Request/CreateOrderRequest.cs GitHub Actions / build
Check warning on line 3 in test/NetCorePal.Web/Controllers/Request/CreateOrderRequest.cs GitHub Actions / build
Check warning on line 3 in test/NetCorePal.Web/Controllers/Request/CreateOrderRequest.cs GitHub Actions / build
Check warning on line 3 in test/NetCorePal.Web/Controllers/Request/CreateOrderRequest.cs GitHub Actions / build
Check warning on line 3 in test/NetCorePal.Web/Controllers/Request/CreateOrderRequest.cs GitHub Actions / build
Check warning on line 3 in test/NetCorePal.Web/Controllers/Request/CreateOrderRequest.cs GitHub Actions / build
Check warning on line 3 in test/NetCorePal.Web/Controllers/Request/CreateOrderRequest.cs GitHub Actions / build
Check warning on line 3 in test/NetCorePal.Web/Controllers/Request/CreateOrderRequest.cs GitHub Actions / build
Check warning on line 3 in test/NetCorePal.Web/Controllers/Request/CreateOrderRequest.cs GitHub Actions / build
|
||
} |