graphql-python / graphql-python/graphene-sqlalchemy

Deferred columns inconsistency

Đang mở
#161 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

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.