Skip to content
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

SQLAlchemy + Flask Tutorial #903

Closed
KenanHArik opened this issue Feb 15, 2019 · 1 comment
Closed

SQLAlchemy + Flask Tutorial #903

KenanHArik opened this issue Feb 15, 2019 · 1 comment

Comments

@KenanHArik
Copy link

KenanHArik commented Feb 15, 2019

Following the tutorial provided at https://docs.graphene-python.org/projects/sqlalchemy/en/latest/tutorial/
using Python 2.7, ran into an error:

AssertionError: Found different types with the same name in the schema: EmployeeConnection, EmployeeConnection.

Upon investigation, I found the following resource which suggested renaming:
graphql-python/graphene-sqlalchemy#153

Renaming with a similar pattern of EmployeeNode and DepartmentNode fixed the issue. I have attached the new schema.py as a text file here for reference.
schema.txt

Does the tutorial need to be updated to fix this issue?

@stale
Copy link

stale bot commented Jul 29, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 29, 2019
@stale stale bot closed this as completed Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants