graphql-python / graphql-python/graphene-sqlalchemy

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

オープン
#309 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
985
フォーク
223
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。