The goal of this project is to provide full support of the GraphQL draft specification with a set of idiomatic, easy-to-use Go packages. While still under heavy development (internal APIs are almost certainly subject to change), this library is safe for production use. We're trying out the GitHub Project feature to manage graphql-go's development roadmap. Feedback is welcome and appreciated. A resolver must have one method or field for each field of the GraphQL type it resolves. The method or field name has to be exported and match the schema's field's name in a non-case-sensitive way. By default the library uses noop.Tracer. If you want to change that you can use the OpenTelemetry or the OpenTracing implementations.

Features

  • Minimal API
  • Support for context.Context
  • Support for the OpenTelemetry and OpenTracing standards
  • Schema type-checking against resolvers
  • Resolvers are matched to the schema based on method sets (can resolve a GraphQL schema with a Go interface or Go struct).
  • Handles panics in resolvers

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

BSD License

Follow graphql-go

graphql-go Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of graphql-go!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-01-10