Now that query filtering is being changed in Grafana, it's time to update our examples. There's no longer a need to filter out hidden queries in the data source as this is being taken care of by Grafana. Also, filterQuery is now being called from the query runner, so frontend data sources no longer need to do this in the query method.
While at it, I'm also replacing usage of defaults(target, defaultQuery) with the implementation of getDefaultQuery.
Now that query filtering is being changed in Grafana, it's time to update our examples. There's no longer a need to filter out hidden queries in the data source as this is being taken care of by Grafana. Also,
filterQuery
is now being called from the query runner, so frontend data sources no longer need to do this in the query method.While at it, I'm also replacing usage of
defaults(target, defaultQuery)
with the implementation ofgetDefaultQuery
.