graphql-python / graphql-python/graphene-sqlalchemy

Default sort

Đang mở
#398 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.