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
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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