Unity Blog use case Decouple Drupal GraphQL 4 Nextjs
summary
Unity Blog is rebuilt with Drupal 9 as headless CMS and GraphQL 4 serving a Next.js frontend; every Drupal entity field is exposed by hand via .graphqls type defs plus custom resolver classes and data producers because GraphQL 4 does not auto-generate fields (unlike v3). Paragraph-based posts, Storybook-driven design system and Tailwind are used; persistent queries register server-side queries so the client only sends IDs. Added custom resolvers for translations and image metadata (width/height) to satisfy Next.js image component issue; it works but required patches and bespoke data producers.
AI-written summary · about
