graph-client

The Graph library for building GraphQL-based dapps in a decentralized way.

MIT License

Downloads
185.3K
Stars
172
Committers
12

Bot releases are visible (Hide)

graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

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.
    
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 074d9b8: Upgrade internal GraphQL-Mesh deps to have better cross-platform support (node/browser)
  • 074d9b8: Improve logging experience
  • 074d9b8: Update internal dependencies
  • 074d9b8: Use GraphQL Yoga internally in Mesh CLI and have an improved execution layer
  • 074d9b8: Update internal GraphQL Mesh dependecies in order to allow custom package prefixes besides @graphql-mesh/*
  • 074d9b8: Update core GraphQL-Mesh version for a better compatibility for browser/Node envs
  • 074d9b8: Update internal GraphiQL and have better interal GraphQL server (based on Yoga) in CLI commands
  • 074d9b8: Bump internal GraphQL-Tools deps for an improve error handling
  • Updated dependencies [063dc0b]
  • Updated dependencies [063dc0b]
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 074d9b8: Update internal dependencies
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 063dc0b: #### Block Tracking Transform

    graph-client implements automatic block tracking using number_gte filter of graph-node. This automates the process of fetching and tracking the block number of entites.

    This feature is implemented in @graphprotocol/client-block-tracking 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: # The following section will make sure to automatically fetch the block information, and then use it for tracking in future queries.
          - blockTracking:
              validateSchema: true # Validates that the schema source actually contains _meta and input block filters.
    
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 074d9b8: Update internal dependencies
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • cc01355: Fix Browser compatibility issues
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • ca60361: Update core dependencies to latest versions
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • ca60361: Update core dependencies to latest versions
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • ca60361: Update core dependencies to latest versions
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • dcdec54: Bump graph-mesh version to fix output issues under index.ts
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 48c1380: Initial release
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 48c1380: Initial release
graph-client - @graphprotocol/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 48c1380: Initial release
Package Rankings
Top 2.48% on Npmjs.org
Badges
Extracted from project README
GraphQL.wtf Episode 45