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

Validation error messages #496

Open
mangas opened this issue Apr 29, 2021 · 0 comments
Open

Validation error messages #496

mangas opened this issue Apr 29, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mangas
Copy link
Contributor

mangas commented Apr 29, 2021

go-playground/validator's error messages are good from a developer point of view but an error messages that says "K8SConfiguration.Workload.Type is not a one of value" is not really helpful to the user and so custom errors could be introduced in order to present better errors messages

https://github.com/appvia/kev/blob/5a1c05c568427024fb3ef76a9fc0a5d6bdd1e341/pkg/kev/config/extensions_test.go#L148

@marcinc marcinc added the enhancement New feature or request label Jul 7, 2021
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

2 participants