MacroPower / macropower-analytics-panel

It's like Google Analytics, but for Grafana dashboards!
https://grafana.com/grafana/plugins/macropower-analytics-panel
GNU General Public License v2.0
27 stars 7 forks source link

Return a standard template value along with a type field #6

Closed MacroPower closed 4 years ago

MacroPower commented 4 years ago

Right now, grafana can return template values of either null, string, or 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).

MacroPower commented 4 years ago

This has been implemented as of #13