Query: Add query type to json marshal/unmarshal (#83821)
add query type to json marshal/unmarshal
This commit is contained in:
@@ -31,7 +31,8 @@ func TestParseQueriesIntoQueryDataRequest(t *testing.T) {
|
||||
"timeRange": {
|
||||
"from": "100",
|
||||
"to": "200"
|
||||
}
|
||||
},
|
||||
"queryType": "foo"
|
||||
}
|
||||
],
|
||||
"from": "1692624667389",
|
||||
@@ -66,6 +67,7 @@ func TestParseQueriesIntoQueryDataRequest(t *testing.T) {
|
||||
"uid": "old"
|
||||
},
|
||||
"maxDataPoints": 10,
|
||||
"queryType": "foo",
|
||||
"refId": "Z",
|
||||
"timeRange": {
|
||||
"from": "100",
|
||||
|
||||
Reference in New Issue
Block a user