Skip to content

Latest commit

 

History

History

composition

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

The Graph Client - Client-side Composition

This examples integrates The Graph Client with NodeJS/TypeScript usage, with 2 composed Subgraphs using Type-Merging.

The example here is using the following tools/concepts:

Getting Started

To run this example, make sure to install the dependencies in the root of the monorepo, build the client locally, and then run this example:

# In the root directory
$ yarn install
$ yarn build
$ cd examples/composition
$ yarn build-client
$ yarn start

DevTools

You can also run The Graph Client DevTools by running: yarn graphiql.