Skip to content

Commit dc47751

Browse files
ImTotemclaude
andcommitted
fix(graphql): use graphql_ide=None instead of graphiql=False
Strawberry FastAPI GraphQLRouter uses graphql_ide parameter, not graphiql. Set to None to disable IDE in production. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f8f4b49 commit dc47751

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bcsd_api/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def _mount_graphql(app: FastAPI) -> None:
8585
from .graphql.context import context_getter
8686
from .graphql.schema import schema
8787

88-
router = GraphQLRouter(schema, context_getter=context_getter, graphiql=False)
88+
router = GraphQLRouter(schema, context_getter=context_getter, graphql_ide=None)
8989
app.include_router(router, prefix="/graphql")
9090

9191

0 commit comments

Comments
 (0)