You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have looked at the examples provided that may showcase my question here?
Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
Hello folks,
I'd like to validate requests in HTTP server. I want to tell clients why you failed the request.
In some cases, there are several conditions to validate. However, current RegisterValidation method for *Validate accept function returning bool value, It means that it cannot represent why validation failed, only tell whether it succeeds or not.
So,
Q. Is there any way to return errors directly?
The text was updated successfully, but these errors were encountered:
Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
Hello folks,
I'd like to validate requests in HTTP server. I want to tell clients why you failed the request.
In some cases, there are several conditions to validate. However, current
RegisterValidation
method for*Validate
accept function returning bool value, It means that it cannot represent why validation failed, only tell whether it succeeds or not.So,
Q. Is there any way to return errors directly?
The text was updated successfully, but these errors were encountered: