Skip to content

Commit

Permalink
Merge pull request #45 from decentraland/feat/upgrade-graphql-server
Browse files Browse the repository at this point in the history
feat: bump graphql-server and add thegraph dialect
  • Loading branch information
juanmahidalgo authored Jul 22, 2024
2 parents fbde2d1 + 6a35549 commit 0ebcb9b
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 9 deletions.
13 changes: 10 additions & 3 deletions commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
"serve": {
"description": "Start the GraphQL API server",
"cmd": ["squid-graphql-server"]
"cmd": ["squid-graphql-server", "--dialect", "thegraph"]
},
"serve:prod": {
"description": "Start the GraphQL API server with caching and limits",
Expand All @@ -85,7 +85,9 @@
"--dumb-cache-size",
"100",
"--dumb-cache-max-age",
"1000"
"1000",
"--dialect",
"thegraph"
]
},
"check-updates": {
Expand All @@ -109,7 +111,12 @@
},
"retrieve": {
"description": "Retrieve factories collections in Polygon",
"cmd": ["npx", "--yes", "ts-node", "./src/polygon/tools/collectionsRetriever"]
"cmd": [
"npx",
"--yes",
"ts-node",
"./src/polygon/tools/collectionsRetriever"
]
}
}
}
48 changes: 43 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@subsquid/evm-codec": "^0.2.1",
"@subsquid/evm-processor": "^1.19.1",
"@subsquid/file-store": "^2.0.0",
"@subsquid/graphql-server": "^4.6.0",
"@subsquid/graphql-server": "^4.7.0-beta.62d187",
"@subsquid/typeorm-migration": "^1.3.0",
"@subsquid/typeorm-store": "^1.5.1",
"dotenv": "^16.4.5",
Expand Down

0 comments on commit 0ebcb9b

Please sign in to comment.