diff --git a/demos/graphql-demo/graph/api/contrib.py b/demos/graphql-demo/graph/api/contrib.py index 492ccdaa5..d61ba8546 100644 --- a/demos/graphql-demo/graph/api/contrib.py +++ b/demos/graphql-demo/graph/api/contrib.py @@ -1,11 +1,7 @@ from aiohttp import web -from aiohttp_graphql import GraphQLView +from graphql_server.aiohttp import GraphQLView +from graphql_server.render_graphiql import GRAPHIQL_VERSION, process_var from graphql_ws.aiohttp import AiohttpSubscriptionServer -from aiohttp_graphql.render_graphiql import ( - GRAPHIQL_VERSION, - process_var, -) - GQPHIQL_TEMPLATE = """ diff --git a/demos/graphql-demo/requirements-dev.txt b/demos/graphql-demo/requirements-dev.txt index 46fea15ff..f91aec0d4 100644 --- a/demos/graphql-demo/requirements-dev.txt +++ b/demos/graphql-demo/requirements-dev.txt @@ -1,11 +1,11 @@ aiohttp==3.13.2 aiohttp-jinja2==1.6 -aiohttp-graphql==1.1.0 aiodataloader==0.4.3 faker==40.4.0 trafaret_config==2.0.2 -graphene==2.1.9 -graphql-core==2.3.2 +graphene==3.1.1 +graphql-core==3.2.7 +graphql-server[aiohttp]==3.0.0 graphql-ws==0.4.4 psycopg2-binary==2.9.11 redis==7.1.0