Validation needs to be concise, clear, and prevent unexpected or malicious input whenever possible. Types are enforced during request model binding - maybe validation should happen before that to prevent the application from running into an error.
In addition, the errors should to be presented nicely on the frontend.
Validation needs to be concise, clear, and prevent unexpected or malicious input whenever possible. Types are enforced during request model binding - maybe validation should happen before that to prevent the application from running into an error.
In addition, the errors should to be presented nicely on the frontend.