This is a small package to provide a GraphQL handler that can be used with Gin Framework.
- Fully tested.
- Supports context managers so user can add their application specific data to be used in resolver functions.
- Supports file upload out of the box.
- Fully compliant with GraphQL multipart specification, so client libraries like Apollo Upload Client will work out of the box.
- Allows adding additional http headers either by gin middleware, or right from the resolver functions.
To add the package to your project run -
go get -u github.com/asif-mahmud/gingraphql
godoc: https://pkg.go.dev/github.com/asif-mahmud/gingraphql examples: https://pkg.go.dev/github.com/asif-mahmud/gingraphql#pkg-examples
- Updated go and package versions
- Fixed github workflow
- Fixed package name issue
Stable version release
A clone of the original package https://pkg.go.dev/github.com/asif-mahmud/graphqlgin to fix versioning.