eschutho commented on PR #20793:
URL: https://github.com/apache/superset/pull/20793#issuecomment-1217310071

   > The issue is the `/dataset/related/...` endpoint gives no control over 
what data is returned from it. It is hard-coded to return the primary key of 
the data model (In this case, the TableColumn) and the name. That means the 
endpoint is returning the column id, not the dataset id.
   
   I see what you mean. @dpgaspar would it weird for an api class to overwrite 
`_get_result_from_rows` to make this response more flexible to each model?
   
   


-- 
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