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

Switch config validator to ozzo-validate #276

Merged
merged 1 commit into from Nov 18, 2021
Merged

Switch config validator to ozzo-validate #276

merged 1 commit into from Nov 18, 2021

Conversation

kke
Copy link
Contributor

@kke kke commented Nov 15, 2021

https://github.com/go-ozzo/ozzo-validation has prettier error messages and the custom validations are a bit easier to write.

The https://github.com/go-playground/validator is still used for the rig options.

A prerequisite for validating the dynamic config support in #270

@kke kke added the chore Housekeeping / typo / code quality improvements label Nov 15, 2021
@kke kke force-pushed the switch-validator branch 3 times, most recently from 5d08e77 to 71ece9d Compare November 16, 2021 08:41
@kke kke added the enhancement New feature or request label Nov 16, 2021
@kke kke changed the title Switch validator to ozzo-validate Switch config validator to ozzo-validate Nov 16, 2021
Lint

Whoops, broke the makefile

Adapt test

Need to be a pointer

Fix destination requirement for uploadfiles

More semantic version validation
@kke kke merged commit f89f984 into main Nov 18, 2021
@kke kke deleted the switch-validator branch November 18, 2021 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Housekeeping / typo / code quality improvements enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant