graphql-python / graphql-python/graphene-sqlalchemy

Deferred columns inconsistency

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

説明

We are using deferred column:

```
d_column = column_property(
func.pg_func(id), deferred=True)
```

It gave a naming error -- as SQL Alchemy generated column name on that. Hence we label it:

```
d_column = column_property(
func.pg_func(id).label('test'), deferred=True)
```

All works fine since that point, but this column doesn't appear in a sort.
Questions:
* Should it appear?
* If not -- why its name is validated?

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

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

評価

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

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

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