Skip to content

keep response validation message internal #1284

Answered by tdakkota
bluebrown asked this question in Q&A
Discussion options

You must be logged in to vote

You can override default error handler via WithErrorHandler to avoid error disclosure to the client.

The error returned by validator should be a typed error, I guess. Feel free to fill an issue.

Feature server/response/validation is supposed to use in debug environment, so I think it is fine.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bluebrown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants