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 89861acba..c17f07448 100644 --- a/demos/graphql-demo/requirements-dev.txt +++ b/demos/graphql-demo/requirements-dev.txt @@ -1,12 +1,12 @@ aiohttp==3.8.3 aiopg[sa]==1.4.0 aiohttp_jinja2==1.5 -aiohttp_graphql==1.1.0 aiodataloader==0.3.0 faker==15.3.2 trafaret_config==2.0.2 -graphene==2.1.9 -graphql-core==2.3.2 +graphene==3.1.1 +graphql-core==3.2.5 +graphql-server[aiohttp]==3.0.0b7 graphql-ws==0.4.4 psycopg2-binary==2.9.5 redis==4.3.4