Now that multiple environments beyond production and staging are possible it would be great to not need the following JSQuery workaround (suggested by @victoria in March 2021) to switch between data resources for the current environment. I would like to run the same app and the same queries and be able to toggle seamlessly between viewing production and staging data.
if (select1.value == "production") {
prodQuery.trigger()
} else if (select1.value == "staging") {
stagingQuery.trigger()
} else if (select1.value == "dev") {
devQuery.trigger()
}
Right now I have 27 queries and a multi-page app of over a dozen pages. So maintaining 54 queries and adding that workaround is quite cumbersome.
Is the feature on the roadmap?
Thanks