Use Apollo to download the scheme

This commit is contained in:
Syer10
2024-03-28 21:36:29 -04:00
parent 5b485086a7
commit cdf155c9f4
5 changed files with 104 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ jobs:
done
# Query the GraphQL endpoint and save the result to a file
curl -X POST -s http://localhost:4567/api/graphql > graphql/scheme.graphql
./gradlew :data:graphql:downloadApolloSchema --endpoint='http://localhost:4567/api/graphql' --schema=data/graphql/src/commonMain/graphql/schema.graphqls
# Kill the Java process
kill $pid