graphql-python / graphql-python/graphene-sqlalchemy
Deferred columns inconsistency
Aperta
bug
- Lingua principale
- Python
- Stelle
- 985
- Fork
- 223
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.