graphql-python / graphql-python/graphene-sqlalchemy

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

Đang mở
#309 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
985
Fork
223
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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:
https://github.com/graphql-python/graphene-sqlalchemy/blob/20ecaeadf2144b88555a3daf1a04e31b7f2ff95a/graphene_sqlalchemy/converter.py#L80

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.