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

Default resolver on Many-To-One and One-To-One relationships is not respected #309

Open
adrianschneider94 opened this issue May 22, 2021 · 0 comments

Comments

@adrianschneider94
Copy link

SQLAlchemy-Graphene respects a custom resolver if it's set, but not a custom default resolver for many-to-one and one-to-one relationships.

The issue lies here:

resolver = get_custom_resolver(obj_type, orm_field_name)

It should be checked if there is a custom default resolver and that should be used if it's the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant