I am getting following error when using latest ariadne 0.16.1
with graphql-core 3.2.3
and Python 3.10. It's a FastAPI app.
from fastapi import FastAPI
from ariadne.asgi import GraphQL
Second line throws the error
from graphql.type import GraphQLEnumType, GraphQLNamedType, GraphQLSchema ModuleNotFoundError: No module named 'graphql.type'
I tried changing libraries versions both upgrading and downgrading but no luck.
Thanks
UPDATE
issue is resolved. There was a graphql directory in the project. renaming it fixed the issue. Thanks.
from graphql import...
, without the.type
.