fix: Upgrade to GraphQL Apollo Server 5 and restrict GraphQL introspection (#9888)

BREAKING CHANGE: Upgrade to Apollo Server 5 and GraphQL express 5 integration; GraphQL introspection now requires using `masterKey` or setting `graphQLPublicIntrospection: true`.
This commit is contained in:
Antoine Cormouls
2025-12-12 18:35:01 +01:00
committed by GitHub
parent 706b3a0e9a
commit 87c7f076eb
4 changed files with 437 additions and 920 deletions

View File

@@ -20,7 +20,8 @@
],
"license": "Apache-2.0",
"dependencies": {
"@apollo/server": "4.12.1",
"@apollo/server": "5.0.0",
"@as-integrations/express5": "1.1.2",
"@graphql-tools/merge": "9.0.24",
"@graphql-tools/schema": "10.0.23",
"@graphql-tools/utils": "10.8.6",