ba01be84
server: replace deprecated gqlgen code
Most of the gqlgen/handler package, specifically also `handler.GraphQL()`, has been deprecated [1]. The documentation of the new package [2] is a bit lacking, but some stuff is covered in the reference docs [3] [4], and some in the examples [5]. [1] https://pkg.go.dev/github.com/99designs/gqlgen@v0.17.36/handler#GraphQL [2] https://pkg.go.dev/github.com/99designs/gqlgen@v0.17.36/graphql/handler [3] https://gqlgen.com/reference/errors/#the-panic-handler [4] https://gqlgen.com/reference/complexity/#limiting-query-complexity [5] https://github.com/99designs/gqlgen/blob/master/_examples/fileupload/server/server.go
Conrad Hoffmann <ch@bitfehler.net> — 2025-07-17 18:41:23 UTC
Commit ba01be8449eadd60ffae7ae28f27247bbefa8bcc —
view raw patch
Parent(s):
e36951da
| File | Status | + | − |
|---|---|---|---|
server/server.go
|
M | +11 | -5 |