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

feat: Improve labels validation #359

Merged
merged 6 commits into from
Apr 8, 2024
Merged

Conversation

nieomylnieja
Copy link
Collaborator

@nieomylnieja nieomylnieja commented Apr 5, 2024

Summary

Improved v1alpha.Labels validation which now relies entirely on validation package ensuring consistent and informative errors.

Removed old checks for whole error message in object's validation in favour of regex check.

Labels validation is now performed against each object supporting labels.

@n9-machine-user n9-machine-user added enhancement New feature or request go minor labels Apr 5, 2024
nieomylnieja and others added 4 commits April 5, 2024 17:33

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@nieomylnieja nieomylnieja marked this pull request as ready for review April 8, 2024 14:19
Copy link
Member

@skrolikiewicz skrolikiewicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's goo

@nieomylnieja nieomylnieja merged commit 30c24b4 into main Apr 8, 2024
7 checks passed
@nieomylnieja nieomylnieja deleted the feat-improve-labels-validation branch April 8, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request go minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants