alexnoddings / Tyne

C# libaries designed for making Line of Business Blazor apps more efficiently.
https://alexnoddings.github.io/Tyne/
MIT License
2 stars 0 forks source link

Return an invalid response when POST body is null #80

Closed alexnoddings closed 6 months ago

alexnoddings commented 1 year ago

Posts to a MediatorEndpoint rely on IValidator<T>s to ensure the incoming request is valid. Endpoints without a validator end up 500-ing as checks are skipped and the null request is sent to MediatR.

alexnoddings commented 6 months ago

HTTP Mediator work tracked in #116.