sdk-codegen
sdk-codegen copied to clipboard
api40 create_dashboard_element method does not support listening to filters
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.
cc @drstrangelooker @jkaster sounds like a dashboard spec bug?
Yes, it sounds like it's an API mapper bug
Anything being done here? I'm having to re-write the API because of this.