99designs / 99designs/gqlgen

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

Open
#2,547 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
10.8k
Forks
1.3k
Avg merge
2d 36m
Merged PRs (30d)
26

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.