giftig commented on PR #25950:
URL: https://github.com/apache/superset/pull/25950#issuecomment-1807747049

   @john-bodley
   
   re exposing the entire context: I'll take a look what else is available 
which would make sense to pass in; not sure how easy it'd be to expose + test 
the whole context, since with these parameters I had to do some parsing to get 
it back to its original form so it worked seamlessly, but if there are a couple 
of extra obvious parameters to include I'll add those too.
   
   re dataset configuration: in the testing instructions I gave instructions 
for a (fairly contrived) example dataset to show the principle of when and why 
this causes issues. Hopefully that provides enough context. Our actual usecase 
is a custom macro for querying a table which applies a sensible default filter 
to prevent accidentally querying too much data, and it uses the dashboard 
filter instead of a short default when available, but I think the simpler 
example illustrates what's currently missing more clearly and also makes it 
easy to reproduce / test the change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to