~/talk

Spring Time: From REST to GraphQL

Talkat Spring I/O 2026 · 2026-04-13..04-15· [graphql, api-design]

Demonstrates migrating a REST-heavy DJ app to Spring GraphQL with an Angular micro‑frontends client using Apollo; it implements a single /graphql endpoint, SDL schema as the API contract, resolvers wired to Spring services, and subscriptions via WebSocket implemented with Project Reactor Flux for live crowd-vote updates. Error handling returns HTTP 200 with GraphQL errors, tests use GraphQL test slices plus ArchUnit, and the live demo (QR vote → mutation → pushed update → audio) works end-to-end. Decision guidance: prefer REST for simple single consumers and HTTP caching; pick GraphQL for many varied clients and additive schema evolution.

AI-written summary · about

  1. 0:00Introduction to Spring GraphQL
  2. 3:58REST scaling limits
  3. 7:29GraphQL exact requests
  4. 13:05GraphQL schema definition
  5. 17:17Spring GraphQL wiring
  6. 22:58Field resolution and errors
  7. 27:10Testing GraphQL with ArchUnit
  8. 29:58GraphQL subscriptions
  9. 35:14Micro front-ends and BFF
  10. 41:14Crowd votes demo
  11. 45:28REST vs GraphQL criteria
  12. 49:00Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.