99designs / 99designs/gqlgen

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

未关闭
#2,547 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
10.8k
派生
1.3k
平均合并
2 天 36 分钟
30 天内合并 PR
26

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。