fix parsing non-string slice values
- only string were parsed using wrapped json - now we also keep primitive types
This commit is contained in:
parent
4b89ed6421
commit
e1cdd1c2a3
|
@ -79,7 +79,7 @@ func parseParameter(data interface{}) (interface{}, error) {
|
||||||
|
|
||||||
// ignore non-string
|
// ignore non-string
|
||||||
if element.Kind() != reflect.String {
|
if element.Kind() != reflect.String {
|
||||||
result[i] = nil
|
result[i] = element.Interface()
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue