graphql-python / graphql-python/graphene-sqlalchemy
Deferred columns inconsistency
Đang mở
bug
- 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ả
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?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.