letterbox/web/graphql/update_schema.sh

5 lines
156 B
Bash
Executable File

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