It would be pretty awesome to have the option to define additionalScope properties in the advanced tab of a query, and allow you to set a default option where it's not supplied.
Definitely!
In the meantime, to set a default option manually, would something like {{ yourScopeVar || 'default val' }}
work for you?
1 Like
Oh, that totally works and is what I'm doing I've had it lead to some messy code in queries though. My thinking of allowing users to set defaults in the query would also allow them to also hint to the editor to know about the other incoming query params from additionalScope
Awesome, glad to hear it and definitely valid! We should have some additionalScope improvements coming very soon
2 Likes