The current "compute" field is a single object, but we need multiple "compute" aggregations for the columns of the table widget. To solve this problem without doing a painful migration of the type of the "compute" field, we decided to add a field called multi_compute which contains an array of "compute" objects. This validation is already in place in the dashboards backend, and this PR adds it to the Go API.
The current "compute" field is a single object, but we need multiple "compute" aggregations for the columns of the table widget. To solve this problem without doing a painful migration of the type of the "compute" field, we decided to add a field called
multi_compute
which contains an array of "compute" objects. This validation is already in place in the dashboards backend, and this PR adds it to the Go API.