Code DAO
Code DAO
Jan 18, 2022 · Backend Development

Implementing Pagination, Filters, and Error Handling in a Go Clean Architecture with Ent and gqlgen (Part 3)

This tutorial walks through adding pagination and flexible where‑filters to the User List interface, configuring gqlgen extensions, handling GraphQL errors, wrapping mutations in transactions, and building unit, integration, and end‑to‑end tests for a Go clean‑architecture project using Ent and gqlgen.

Clean ArchitectureError handlingGo
0 likes · 23 min read
Implementing Pagination, Filters, and Error Handling in a Go Clean Architecture with Ent and gqlgen (Part 3)
Code DAO
Code DAO
Jan 15, 2022 · Backend Development

Implementing Clean Architecture with ent and gqlgen – Part 2

This article walks through integrating the four Clean Architecture layers—entity, use‑case, interface‑adapter, and framework/driver—into a Go application using ent for ORM and gqlgen for GraphQL, covering folder layout, ULID primary keys, Node interface support, and pagination implementation.

Clean ArchitectureGoGraphQL
0 likes · 19 min read
Implementing Clean Architecture with ent and gqlgen – Part 2
Code DAO
Code DAO
Jan 1, 2022 · Backend Development

Building a Clean Architecture GraphQL App with ent and gqlgen (Part 1)

This tutorial walks through creating a maintainable GraphQL application using Go, demonstrating how to set up a Docker‑based MySQL database, configure Viper and Echo, define ent schemas, run migrations, integrate gqlgen with ent, and implement queries and mutations following Clean Architecture principles.

Clean ArchitectureDockerEcho
0 likes · 22 min read
Building a Clean Architecture GraphQL App with ent and gqlgen (Part 1)