graphql-python / graphql-python/graphene-sqlalchemy

Deferred columns inconsistency

Open
#161 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
985
Forks
223
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.