This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
Change paginated API query metadata to only be included in response if requested #791
Labels
Milestone
As part of the paginated query support implemented in #763, we automatically return a
PageInfo
object if a user sends a limit in their query. We should change the behavior to return thePageInfo
object only if it is requested.edit: Here's additional info.
During a sync with a member of the frontend team, they gave an example of a query that they would typically use:
As you can see, this query specifically requests for the
PageInfo
metadata object to be returned. Upon clarification, they said that the front-end team would rather thePageInfo
object only be returned if requested instead of how I originally implemented it (the current behavior is to return it for all paginated queries and it's unable to be specifically requested).The text was updated successfully, but these errors were encountered: