slim-sprig icon indicating copy to clipboard operation
slim-sprig copied to clipboard

split returns `map[string]string` which is incompatible with other functions like `dig`

Open ghostsquad opened this issue 3 years ago • 1 comments

split returns map[string]string which is incompatible with other functions like dig which expect map[string]interface{}

ghostsquad avatar Apr 27 '22 07:04 ghostsquad

It's probably possible to use reflection so that dig works with both map[string]string and map[string]interface{}.

andreynering avatar May 08 '22 20:05 andreynering