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

Cannot override default rules #104

Closed
ankithans opened this issue Jul 1, 2021 · 0 comments · Fixed by #105
Closed

Cannot override default rules #104

ankithans opened this issue Jul 1, 2021 · 0 comments · Fixed by #105
Assignees
Labels
bug Something isn't working
Projects

Comments

@ankithans
Copy link
Member

ankithans commented Jul 1, 2021

Description

[Priority High] Rules cannot be overridden using RuleConfig. Below code uses default config only.

var vali rules.RuleConfig = rules.RuleConfig{
	Length: rules.Length{
		Limits: map[string]rules.Limit{
			"Example": {Min: 10, Max: 100},
		},
	},
}
@ankithans ankithans added the bug Something isn't working label Jul 1, 2021
@ankithans ankithans added this to To do in Charmil WIP via automation Jul 1, 2021
@ankithans ankithans moved this from To do to In progress in Charmil WIP Jul 1, 2021
@ankithans ankithans self-assigned this Jul 1, 2021
@ankithans ankithans moved this from In progress to Review in progress in Charmil WIP Jul 1, 2021
Charmil WIP automation moved this from Review in progress to Done Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Charmil WIP
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant