Open Dinika opened 1 year ago
Please note that if the above proposal is not do-able, we can use the multi fetch feature, to fetch all the selected rows at once, instead of requesting them one by one. We are doing something similar in DataExplorer (see function fetchMultipleResources
in src/subapps/dataExplorer/DataExplorerUtils.tsx
).
Problem: Right now we receive only the following information in the payload per row of the table:
This information is not enough to add a row to data-panel, so we do another (upto 2 requests) per row selected
@id
,distribution
,createdAt
,name
etc. A sample of what we receive is as follows@id
returned by the response to the request above is of "curie" format, we make another request to get expanded id. (To be seen, if we can only do this request instead of the first one).Proposal Get the following extra information in the original request that returns all rows for studio table row: