diff --git a/subgraph/flake.nix b/subgraph/flake.nix index 71ccf075e..b33691ea4 100644 --- a/subgraph/flake.nix +++ b/subgraph/flake.nix @@ -83,10 +83,16 @@ generate-sg-schema = pkgs.writeShellScriptBin "generate-sg-schema" ('' ${rain-cli} subgraph build + ${rain-cli} subgraph deploy --endpoint http://localhost:8020 --subgraph-name "test/test" ${graphql-client} introspect-schema --output tests/utils/subgraph/wait/schema.json http://localhost:8030/graphql ${graphql-client} introspect-schema --output tests/utils/subgraph/query/schema.json http://localhost:8000/subgraphs/name/test/test + + # debug the content + echo $(ls .) + cat tests/utils/subgraph/query/schema.json | ${jq} . + cat tests/utils/subgraph/wait/schema.json| ${jq} . ''); default = rain_cli;