graphql-python / graphql-python/graphene-sqlalchemy

add support for strict_type connections

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

Currently the strict_type=True option on the Meta class for a node is ignored and the connections end up having nullable values in the edge list. If you override the connection_class to set the strict_type on the connection, the SQLAlchemyConnectionField constructor fails because it does not unwrap the NonNull from the node before trying to set up the sort.

Ideally it should be possible to set the strict_type option on the connection via metadata on the node class.

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.