Closed abdelDriowya closed 11 months ago
LGTM
I have one comment about readability. Also, do you think you could add a non-regression test in
parameters_test.go
?
I tried adding tests, it requires rewritting a lot of the logic that trigger the error; it would have been easier with snapshot tests, I think we removed them ?
Alright. I guess test refactoring will be for another day, then. Approved.
Jira
Description
False “parameter must be a string” error when passing an enum
Implementation details
Avoid creating an error when passed parameter type is enum and definition is string
How to validate
test config file