ResumeLabBlog
Matt Huggins

Matt Huggins

Web & Mobile Developer

matt.huggins@gmail.comhuggiemhugginsmatt-huggins
Projects
Codebound
Collectible card game
SVGConverter.io
Vectorize raster images
Recent Blog Posts
Cooking with measurableCooking with measurable
Jun 19, 2026
One Schema, Two Codegens: Typing GraphQL Across Client and ServerOne Schema, Two Codegens: Typing GraphQL Across Client and Server
Jun 17, 2026
Structuring the GraphQL Request ContextStructuring the GraphQL Request Context
Jun 9, 2026
Blog Topics
aidata fetchingform managementgraphicsgraphqljavascriptnode.jsreactrubyruby on railssecuritytanstack formtanstack querytypescriptuser experience

Blog Posts Tagged “graphql”

Back to Blog

One Schema, Two Codegens: Typing GraphQL Across Client and Server

Jun 17, 2026
graphqlnode.jstypescriptjavascript
One Schema, Two Codegens: Typing GraphQL Across Client and Server

How I keep a single GraphQL schema as the source of truth across a client and a server: sharing the SDL, generating types on both ends, and using fragments to declare a shape once and compose it into complex reusable types.

Structuring the GraphQL Request Context

Jun 9, 2026
graphqlnode.jstypescriptjavascript
Structuring the GraphQL Request Context

My approach to shaping an Apollo server's GraphQL context around three fields: a resolved current user, a shared data layer, and a fresh set of DataLoaders.