Add config for query limit in compare CLI (#175)

* Add config for query limit in compare CLI

* Fix JSON stringify bigint for GQL query params

* Take last N entity ids to compare in GQL
This commit is contained in:
2022-09-08 16:54:02 +05:30
committed by GitHub
parent 93584bf28d
commit 4e5ec36f07
6 changed files with 41 additions and 31 deletions
@@ -3,13 +3,14 @@
gqlEndpoint2 = "http://localhost:3008/graphql"
[queries]
queryDir = "../graph-test-watcher/src/gql/queries"
queryDir = "../../graph-test-watcher/src/gql/queries"
names = []
blockDelayInMs = 250
queryLimits = {}
[watcher]
configPath = "../../graph-test-watcher/environments/local.toml"
entitiesDir = "../../graph-test-watcher/src/entity"
entitiesDir = "../../graph-test-watcher/dist/entity/*"
endpoint = "gqlEndpoint2"
verifyState = true
derivedFields = []