graphql-python / graphql-python/graphene-sqlalchemy

Deferred columns inconsistency

未关闭
#161 1 条评论 0 个 reaction 已指派 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 摘要。