Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>Do you think it's acceptable that it took 4 years for Minimal APIs to get validation?

Well thay don't call it Minimal API for nothing. Jokes aside, what stopped you from calling validation yourself explicitly?

>What about hot reload being broken for years and years?

Can't comment on this, because I have never needed it. I can work faster with writing tests, but I guess it's fair to assume there are some who would need it.



> what stopped you from calling validation yourself explicitly?

Error messages. Even with the validation in .NET 10 you can't get the actual JSON property to display in the error message, instead you get the C# property.

FastEndpoints fixes this but uses Fluent so now you need to rely on a couple more dependencies.

> I can work faster with writing tests

For Blazor and Razor?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: