1 dépôt
Automatically embeds shared fields into implementing types to reduce code duplication.
Distinct from Shared Library Interfaces: Distinct from Shared Library Interfaces: focuses on code generation and struct embedding rather than library-level interface sharing.
Explore 1 awesome GitHub repository matching software engineering & architecture · Interface Embedding. Refine with filters or upvote what's useful.
gqlgen is a schema-first Go library designed to build type-safe GraphQL servers. It functions as a code generation engine that transforms declarative GraphQL schema definitions into strongly-typed Go source code, ensuring strict alignment between the API contract and the underlying implementation. The framework distinguishes itself through its deep integration with the Go type system and its highly extensible build pipeline. By using schema-first development, it automates the creation of server boilerplate and resolver stubs, allowing developers to map schema fields directly to Go structs and
Reduces code duplication by automatically embedding shared fields into implementing types during code generation.