Skip to content

Latest commit

 

History

History
397 lines (231 loc) · 30.4 KB

File metadata and controls

397 lines (231 loc) · 30.4 KB

@graphprotocol/client-auto-pagination

2.0.8

Patch Changes

2.0.7

Patch Changes

2.0.6

Patch Changes

2.0.5

Patch Changes

2.0.4

Patch Changes

2.0.3

Patch Changes

2.0.2

Patch Changes

2.0.1

Patch Changes

2.0.0

Major Changes

Patch Changes

1.1.18

Patch Changes

1.1.17

Patch Changes

1.1.16

Patch Changes

1.1.15

Patch Changes

1.1.14

Patch Changes

1.1.13

Patch Changes

1.1.12

Patch Changes

1.1.11

Patch Changes

1.1.10

Patch Changes

1.1.9

Patch Changes

1.1.8

Patch Changes

1.1.7

Patch Changes

1.1.6

Patch Changes

1.1.5

Patch Changes

1.1.4

Patch Changes

1.1.3

Patch Changes

1.1.2

Patch Changes

1.1.1

Patch Changes

1.1.0

Minor Changes

  • ac54503: Support nested fields

1.0.3

Patch Changes

  • 79aa35d: Bump internal packages

1.0.2

Patch Changes

  • bb5df03: Respect the changes done by other transforms

1.0.1

Patch Changes

  • ed023e3: 'process' definition is not needed anymore

1.0.0

Major Changes

  • 3e343ee: Preparations for V1 release

0.0.6

Patch Changes

  • f360681: Bump internal Mesh packages

0.0.5

Patch Changes

  • 6675626: Bump versions

0.0.4

Patch Changes

  • 9d71ded: Respect other arguments while creating underlying pagination selections
  • 9d71ded: Use lastID if skip exceeds the limit

0.0.3

Patch Changes

  • 571abf5: fix(auto-pagination): handle multiple fields correctly

0.0.2

Patch Changes

  • 71e4ea8: Bump internal Mesh packages

0.0.1

Patch Changes

  • 063dc0b: #### Auto Pagination Transform

    graph-client implements automatic pagination using first: and after: filters of graph-node.

    At the moment, graph-node allow fetching only 1000 records per query. This transfomer allow you to run queries with any limit, and the breaks it automatically to multiple concurrent requests, then merges the responses into a single response.

    This feature is implemented in @graphprotocol/client-auto-pagination and installed automatically with the graph-client CLI package.

    Usage Example

    # .graphclientrc.yml
    sources:
      - name: uniswap
        handler:
          graphql:
            endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2
        transforms:
          - autoPagination:
              validateSchema: true # Validates that the schema source actually contains the required input filters.
              limitOfRecords: 1000 # Default is 1000, you can change if you indexer has different configuration in GRAPH_GRAPHQL_MAX_FIRST var.