binding: Improve validation rule error message #159
Labels
🎯 feature
Categorizes as related to a new feature
🛰️ middleware
Something about middleware
🔆 roadmap
This is on our roadmap!
Component
Middleware
Middleware
https://github.com/flamego/binding
Is your feature request related to a problem? Please describe
When using validation with the binding package, only the failed rule is returned to the client, e.g.
However, the one important element is missing, which is the expected range of values.
Describe the solution you'd like
The error message should contain the range of expected values.
Describe alternatives you've considered
n/a
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: