letterbox/web/graphql/update_schema.sh

5 lines
151 B
Bash
Executable File

DEV_HOST=localhost
DEV_PORT=9345
graphql-client introspect-schema http://${DEV_HOST:?}:${DEV_PORT:?}/graphql --output schema.json
git diff schema.json