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).
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
- Multi-platform:
docker buildx build --platform linux/amd64,linux/arm64/v8 . -f schema-generator.Dockerfile -t <TAG> --push