-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
Swap validator
for garde
#1212
Swap validator
for garde
#1212
Commits on Apr 28, 2023
-
The validator crate used in the derive docs and in the crd example is no longer actively maintained. It has been superseded by garde which offers similar functionality. This change replaces validator with garde in dev dependencies (and in the crd_api example dependency). Although garde has the same derive macro, its attribute differs from validator, and it additionally requires fields to be explictly skipped from validation, and does not offer a built-in way to validate required fields. Changes have been made to the kube_derive crate's docs to both replace existing mentions of validator, and inform on the caveats mentioned above. Signed-off-by: Matei David <matei.david.35@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6423114 - Browse repository at this point
Copy the full SHA 6423114View commit details -
Disable default features for garde
Signed-off-by: Matei David <matei.david.35@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5bc037d - Browse repository at this point
Copy the full SHA 5bc037dView commit details
Commits on Apr 29, 2023
-
Remove dev-dep in kube & kube-derive
Signed-off-by: Matei David <matei.david.35@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for df951ac - Browse repository at this point
Copy the full SHA df951acView commit details -
Change validate attr to schemars
Signed-off-by: Matei David <matei.david.35@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 68518a9 - Browse repository at this point
Copy the full SHA 68518a9View commit details -
Co-authored-by: Eirik A <sszynrae@gmail.com> Signed-off-by: Matei David <matei.david.35@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c705ebd - Browse repository at this point
Copy the full SHA c705ebdView commit details -
Remove garde from kube examples
Signed-off-by: Matei David <matei.david.35@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 994957f - Browse repository at this point
Copy the full SHA 994957fView commit details -
Merge branch 'matei/swap-validation-lib' of github.com:mateiidavid/ku…
…be into matei/swap-validation-lib
Configuration menu - View commit details
-
Copy full SHA for c44b9d2 - Browse repository at this point
Copy the full SHA c44b9d2View commit details -
Re-work headers and remove garde
Signed-off-by: Matei David <matei.david.35@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b7275a4 - Browse repository at this point
Copy the full SHA b7275a4View commit details