sdk-codegen icon indicating copy to clipboard operation
sdk-codegen copied to clipboard

api40 create_dashboard_element method does not support listening to filters

Open jieqiu0630 opened this issue 3 years ago • 5 comments

Currently, api40's create_dashboard_element method takes in a WriteDashboardElement-type argument as its body. However, WriteDashboardElement's result_maker field is of type WriteResultMakerWithIdVisConfigAndDynamicFields, which is the dynamic writeable type of ResultMakerWithIdVisConfigAndDynamicFields with the field filterables removed. However, filterables is needed if we would like for this element to listen to some sort of dashboard filter.

jieqiu0630 avatar Dec 17 '21 03:12 jieqiu0630

cc @drstrangelooker @jkaster sounds like a dashboard spec bug?

joeldodge79 avatar Dec 20 '21 16:12 joeldodge79

Yes, it sounds like it's an API mapper bug

jkaster avatar Dec 20 '21 17:12 jkaster

Anything being done here? I'm having to re-write the API because of this.

Ladvien avatar Oct 11 '23 13:10 Ladvien