graphql-python / graphql-python/graphene-sqlalchemy
Deferred columns inconsistency
Abierto
bug
- Lenguaje dominante
- Python
- Estrellas
- 985
- Forks
- 223
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.