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
fix: validate rules in loop #103
Conversation
ec97030
to
96c7127
Compare
@@ -10,6 +10,10 @@ import ( | |||
"github.com/spf13/cobra" | |||
) | |||
|
|||
type Rules interface { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc
@@ -10,6 +10,10 @@ import ( | |||
"github.com/spf13/cobra" | |||
) | |||
|
|||
type Rules interface { | |||
Validate() []validator.ValidationError |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrap error aray in result structure for other elements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually lets leave it likt this
Lets release this /create github release v0.1.0 |
Draft release. Changes required? |
Closes #98
Closes #93
Closes #53
Description
Rule
interfaceType of change