graphql-python / graphql-python/graphene-sqlalchemy
Default sort
Đang mở
enhancement
- Ngôn ngữ chính
- Python
- Star
- 985
- Fork
- 223
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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`.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.