When Apollo’s Cache Gets Confused: Handling Nested Data Collisions

Imagine having an awesome day as a programmer — coding new features, enjoying your favourite coffee , when suddenly, you got yourself into a situation in your app’s data management. You delete an item, expecting it to vanish neatly, but instead, it disappears everywhere — even places it shouldn’t. Is it magic or something? Nope, it’s a … Continue reading When Apollo’s Cache Gets Confused: Handling Nested Data Collisions

Code Less, Query More: GraphQL Power in Rails APIs

Simpler requests, smarter responses, and happier devs! Ever tried building something that seems simple — like showing a user’s profile with posts and likes — and suddenly you’re juggling 5 API calls, 3 loading spinners, and a me breathing down your brain asking: “Why is it still loading?” Yeah… same, If you’ve ever felt that pain, you’re … Continue reading Code Less, Query More: GraphQL Power in Rails APIs

Securing GraphQL in Golang using Directives for Authentication & Authorization

When building an API, securing your data is just as important as exposing it. This post walks you through how to implement authentication and role-based access control in GraphQL using Golang, with a powerful feature called GraphQL Directives. We’ll learn how to: Authenticate users using JWT Restrict query access using roles Use @auth directives to handle access control directly in the … Continue reading Securing GraphQL in Golang using Directives for Authentication & Authorization