Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow adding transports before defaults (#272)
As I mentioned in #80 (comment), one could not override default transports now. With this small change, one could set up own transport, because first transport get's selected: https://github.com/99designs/gqlgen/blob/fb67b709af4f0c5ba6eff8222c728b076a6eb09b/graphql/handler/server.go#L98 It will allow users, for example, to introduce batching with a bramble plugin, as I also mentioned in comment: #80 (comment).
- Loading branch information