New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Found different types with the same name in the schema: ErrorType, ErrorType. #12
Comments
Please print the error traceback. |
|
graphql-python/graphene-django#539 (comment) maybe related. |
To investigate further I will need the steps to reproduce it, but I don't see the |
If I uninstall graphql_auth or remove the mutations from the schema, the error goes away. It seems to be because of the ErrorType class, which is the same name as the ErrorType class for graphene_django. When graphene runs its reducer function, it crashes because it finds two classes in the schema which have the same name....the ErrorType class.
|
I've just released the |
I have just tested Thanks much for the update. The effort is appreciated. |
I have installed django-graphql-auth with the latest version of graphene-django, but I get the above error because of duplicate types with the same name. ErrorType in graphql_auth/types.py clashes with ErrorType in graphene_django/types.py. I want to use this package in a project, but this here is blocking me.
The text was updated successfully, but these errors were encountered: