99designs / 99designs/gqlgen

Add ability to set a custom high-priority transport in NewDefaultServer

Đang mở
#2,547 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
10.8k
Fork
1.3k
Merge trung bình
2 ngày 36 phút
Pull request đã merge (30 ngày)
26

Mô tả

Thank you for creating such a great library.

This is just a minor suggestion.

### What happened?

NewDefaultServer is a convenient function, but when I set my own transport in the return value, it gets added last, so the priority becomes low.

### What did you expect?

When setting a higher priority, I have to copy the entire code. So, it would be convenient if I could set it in an argument or something when setting a higher priority.

### versions
- `go run github.com/99designs/gqlgen version`?
v0.17.24

- `go version`?

go version go1.19.3 darwin/arm64

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.