Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

GH-2268 Update the limit param in graphql api's #2269

Merged
merged 5 commits into from
Sep 24, 2020
Merged

GH-2268 Update the limit param in graphql api's #2269

merged 5 commits into from
Sep 24, 2020

Commits on Sep 24, 2020

  1. GH-2268 Update the limit param in graphql api's

    Fixes #2268.
    
    Currently, the limit param allows you to specify a limit when retrieving items back from an API call. This is a numeric value that can be passed in but in some cases, we may want all results. To address this, postress allows us to pass in ALL instead of a numeric value, which is effectively the same as not passing a limit at all. Update all of the graphql API endpoints such that if None is passed in it will pass ALL to the LIMIT clause in the query. This will allow us to get all entries without modifying the existing api.
    
    Signed-off-by: johnsonw <wjohnson@whamcloud.com>
    johnsonw committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    c9a0615 View commit details
    Browse the repository at this point in the history
  2. Small update

    Signed-off-by: johnsonw <wjohnson@whamcloud.com>
    johnsonw committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    2dba965 View commit details
    Browse the repository at this point in the history
  3. Fix formatting

    Signed-off-by: johnsonw <wjohnson@whamcloud.com>
    johnsonw committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    39981c6 View commit details
    Browse the repository at this point in the history
  4. Update limit comment to read 'All' instead of '20'

    Signed-off-by: johnsonw <wjohnson@whamcloud.com>
    johnsonw committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    9bd147c View commit details
    Browse the repository at this point in the history
  5. Update limit description

    Signed-off-by: johnsonw <wjohnson@whamcloud.com>
    johnsonw committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    d6d26b0 View commit details
    Browse the repository at this point in the history