Skip to content

monitz87/graph-node-schema-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full Schema Generator

The entire purpose of this fork is to be a workaround for this issue: graphprotocol#4710

I'll try to keep it up to date with upstream, and I'll probably do as long as I keep using The Graph (or until they provide this functionality via the CLI).

Usage

The schema generator is built from a modified version of the script located at graphql/examples/schema.rs. It is Dockerized and can be found here

To run it, you just need to do

docker run --rm monitz87/graphprotocol-schema-generator:latest "$(cat PATH_TO_SCHEMA_FILE)" and it will print the full schema to stdout

Building the image

  • Multi-platform: docker buildx build --platform linux/amd64,linux/arm64/v8 . -f schema-generator.Dockerfile -t <TAG> --push

About

Schema generator utility for subgraphs

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 94.2%
  • PLpgSQL 2.4%
  • TypeScript 2.1%
  • CSS 0.8%
  • Shell 0.2%
  • HTML 0.1%
  • Other 0.2%