Closed MacroPower closed 4 years ago
Right now, grafana can return template values of either null, string, or string[].
null
string
string[]
To make deserialization more simple, values should always be represented as string[].
e.g. null = [], string = [""], string[] = ["", "", ...]
Then append a "type" field so that users may still distinguish between different selection options. (e.g. single-select, multi-select).
This has been implemented as of #13
Right now, grafana can return template values of either
null
,string
, orstring[]
.To make deserialization more simple, values should always be represented as
string[]
.e.g. null = [], string = [""], string[] = ["", "", ...]
Then append a "type" field so that users may still distinguish between different selection options. (e.g. single-select, multi-select).