Skip to content

Conversation

fzaninotto
Copy link
Member

Closes #9569

Problem

Even though some API backends return additional data in the getList results (e.g. facets and other aggregations), there is currently no way to access them.

Solution

Update useGetList and ListContext to return any meta property present in the API response.

Copy link
Collaborator

@djhi djhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a great addition 👍

Co-authored-by: Gildas Garcia <[email protected]>
@djhi djhi merged commit f8ff8a0 into next Sep 4, 2024
14 checks passed
@djhi djhi deleted the response-metadata branch September 4, 2024 08:35
@fzaninotto fzaninotto mentioned this pull request Nov 26, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Development

Successfully merging this pull request may close these issues.

2 participants