Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 791 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 791 Bytes

GraphQL Server

Our GraphQL Server stitches together both remote schemas (using their URL) and subchemas (defined in ./subschemas/{subschema-name}).

Getting Started

  • yarn (from repo root - it'll build all the packages)
  • yarn dev (from this directory)

If you are working on one of the packages you will need to rebuild the dist folder for that package. In another terminal folder cd into the package and run yarn watch or yarn build.

Subschemas

These are the schemas we control the code of, they belong in ./subschemas and should be npm packages that export the schema using makeExecutableSchema from @graphql-tools/schema.

Remote Schemas

Our graphs that are hostel elsewhere, such as the Subsquid one are loaded via their URL. See ./src/index/ts.