graphql-python / graphql-python/graphene-sqlalchemy
Deferred columns inconsistency
未關閉
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?
貢獻指南
研究方向
首先使用 SQLAlchemy 重現 deferred column_property 範例,並檢查儲存庫中排序和欄位名稱驗證的進入點;issue 中未指定檔案或測試。比較帶標籤和不帶標籤的 deferred 欄位,然後確定並測試排序和驗證的預期行為。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- graphql, python, sqlalchemy
- 領域
- api, databases
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100