Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom error messages for request validation #39

Closed
ahx opened this issue Oct 30, 2019 · 0 comments
Closed

Custom error messages for request validation #39

ahx opened this issue Oct 30, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@ahx
Copy link
Owner

ahx commented Oct 30, 2019

When defining for example a parameter that represents a hex color ("/#[0-9a-f]{6}/i") a generic message like "does not match pattern" is not helpful.
Also think about i18n and fallbacks.

@ahx ahx added the enhancement New feature or request label Oct 30, 2019
@ahx ahx changed the title Sugar: Set custom error messages for query parameter validation Custom error messages for query parameter validation Apr 1, 2020
@ahx ahx changed the title Custom error messages for query parameter validation Custom error messages for parameter validation Apr 1, 2020
@ahx ahx changed the title Custom error messages for parameter validation Custom error messages for request validation Apr 1, 2020
@ahx ahx closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant