graphql-python / graphql-python/graphene-sqlalchemy
Default sort
Open
enhancement
- Dominant language
- Python
- Stars
- 985
- Forks
- 223
- PR merge metrics
- No merged PRs in 30d
Description
It would be great if `SQLAlchemyObjectType` allowed to configure a `default_value` of a `#sort_argument` method result.
```python
def sort_argument_for_object_type(
# ...
return Argument(List(enum), default_value=enum.default)
```
Right now there is no way to configure the `default_value` of the `Argument`.
Contributor guide
Assessment
This issue has not been assessed yet.