<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/spring-time-from-rest-to-graphql-by-frederieke-scheper-peter-eijgermans-spring-i-o-2026-64ajkn1wy" -->

---
title: Spring Time: From REST to GraphQL by Frederieke Scheper...
description: A conference talk from Spring I/O walks through a demo DJ party application to compare REST and GraphQL, built with Spring GraphQL on the backend and...
canonical: https://daily.dev/posts/spring-time-from-rest-to-graphql-by-frederieke-scheper-peter-eijgermans-spring-i-o-2026-64ajkn1wy
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Spring Time: From REST to GraphQL by Frederieke Scheper / Peter Eijgermans @ Spring I/O 2026 | daily.dev
og:description: A conference talk from Spring I/O walks through a demo DJ party application to compare REST and GraphQL, built with Spring GraphQL on the backend and...
og:url: https://daily.dev/posts/spring-time-from-rest-to-graphql-by-frederieke-scheper-peter-eijgermans-spring-i-o-2026-64ajkn1wy
og:image: https://api.daily.dev/og/posts/64AJKn1Wy.png
og:image:alt: Spring Time: From REST to GraphQL by Frederieke Scheper / Peter Eijgermans @ Spring I/O 2026
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Spring Time: From REST to GraphQL by Frederieke Scheper / Peter Eijgermans @ Spring I/O 2026

**[Spring I/O](https://daily.dev/sources/springio)** · 49 min read · 0 upvotes · 0 comments

## Summary

A conference talk from Spring I/O walks through a demo DJ party application to compare REST and GraphQL, built with Spring GraphQL on the backend and Angular/Apollo micro frontends with module federation on the client. The speakers cover schema definition, query/mutation/subscription mapping, error handling (always HTTP 200), testing with GraphQL test slices and ArchUnit, real-time updates via WebSocket subscriptions and Flux, and draw on real-world experience at the Dutch National Police and Dutch Railways. They close with decision criteria: favor REST for simple consumers or when HTTP caching matters, favor GraphQL for many heterogeneous consumers needing flexible field selection and additive schema evolution.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=2DkKu-sSBM8>

## Questions this post answers

### Why would I choose GraphQL over REST for a backend with many different client consumers?

GraphQL lets each client declare exactly the fields it needs rather than receiving a fixed, ever-growing REST payload, which matters when consumers like different mobile apps or roles need different subsets of data. It also supports additive, non-breaking schema evolution with field deprecation instead of REST-style versioning, though it sacrifices easy HTTP caching since everything goes through one POST endpoint.

_Weighing REST versus GraphQL for a multi-consumer API is easier with real architecture comparisons on daily.dev._

### How does Spring GraphQL handle errors compared to a REST controller?

Spring GraphQL responses return HTTP 200 even when an error occurs, with error details placed inside a JSON error object rather than relying on HTTP status codes like REST does. An exception resolver class extends a Spring Framework base class to map domain exceptions (like a missing mix session) into structured GraphQL errors, letting teams gracefully degrade responses instead of failing outright.

_Developers debugging GraphQL error handling patterns can find practical Spring examples on daily.dev._

### How do GraphQL subscriptions push real-time updates to clients in a Spring application?

A subscription mapping returns a Flux tied to a session ID; when a mutation updates a mix session, the service publishes the updated aggregate, which is filtered by session ID and streamed to the correct client over a GraphQL WebSocket. The current session is concatenated onto the flux so new subscribers immediately receive the latest state before live updates continue.

_Teams building live-updating features with GraphQL subscriptions can track implementation patterns on daily.dev._

## Similar posts on daily.dev

- [GraphQL vs REST: 18 Claims Fact-Checked with Primary Sources \(2026\)](https://daily.dev/posts/graphql-vs-rest-18-claims-fact-checked-with-primary-sources-2026--qs508oxqv) · WunderGraph · 5 upvotes · 1 comments
- [When GraphQL earns its place in an enterprise application, and when it doesn’t](https://daily.dev/posts/when-graphql-earns-its-place-in-an-enterprise-application-and-when-it-doesn-t-ta8vhjr0o) · InfoWorld · 0 upvotes · 0 comments
- [Doing GraphQL Is Governance by Default, Doing REST Is Not](https://daily.dev/posts/doing-graphql-is-governance-by-default-doing-rest-is-not-ctnmmzeea) · API Evangelist · 0 upvotes · 0 comments
- [REST vs GraphQL vs tRPC 2026: What to Actually Use](https://daily.dev/posts/rest-vs-graphql-vs-trpc-2026-what-to-actually-use-erzmsddde) · Alex CloudStar · 1 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#angular](https://daily.dev/tags/angular), [#graphql](https://daily.dev/tags/graphql), [#rest-api](https://daily.dev/tags/rest-api)

[View this post on daily.dev](https://daily.dev/posts/spring-time-from-rest-to-graphql-by-frederieke-scheper-peter-eijgermans-spring-i-o-2026-64ajkn1wy)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Spring Time: From REST to GraphQL by Frederieke Scheper / Peter Eijgermans @ Spring I/O 2026","url":"https://daily.dev/posts/spring-time-from-rest-to-graphql-by-frederieke-scheper-peter-eijgermans-spring-i-o-2026-64ajkn1wy","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/spring-time-from-rest-to-graphql-by-frederieke-scheper-peter-eijgermans-spring-i-o-2026-64ajkn1wy"},"datePublished":"2026-09-27T07:26:32.660Z","dateModified":"2026-09-27T07:27:33.803Z","description":"A conference talk from Spring I/O walks through a demo DJ party application to compare REST and GraphQL, built with Spring GraphQL on the backend and...","image":"https://i.ytimg.com/vi/2DkKu-sSBM8/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/2DkKu-sSBM8/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Spring I/O","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Spring I/O","logo":"https://media.daily.dev/image/upload/s--e-TcwM9B--/f_auto,q_auto/v1790493985/logos/springio?_a=BAMAMicg0","url":"https://daily.dev/sources/springio"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/spring-time-from-rest-to-graphql-by-frederieke-scheper-peter-eijgermans-spring-i-o-2026-64ajkn1wy","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,angular,graphql,rest-api","timeRequired":"PT49M","video":{"@type":"VideoObject","name":"Spring Time: From REST to GraphQL by Frederieke Scheper / Peter Eijgermans @ Spring I/O 2026","description":"A conference talk from Spring I/O walks through a demo DJ party application to compare REST and GraphQL, built with Spring GraphQL on the backend and...","thumbnailUrl":"https://i.ytimg.com/vi/2DkKu-sSBM8/sddefault.jpg","uploadDate":"2026-09-27T07:26:32.660Z","duration":"PT49M","url":"https://api.daily.dev/r/64AJKn1Wy","embedUrl":"https://www.youtube.com/embed/2DkKu-sSBM8"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Spring I/O","item":"https://daily.dev/sources/springio"},{"@type":"ListItem","position":3,"name":"Spring Time: From REST to GraphQL by Frederieke Scheper / Peter Eijgermans @ Spring I/O 2026"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/spring-time-from-rest-to-graphql-by-frederieke-scheper-peter-eijgermans-spring-i-o-2026-64ajkn1wy#faq","mainEntity":[{"@type":"Question","name":"Why would I choose GraphQL over REST for a backend with many different client consumers?","acceptedAnswer":{"@type":"Answer","text":"GraphQL lets each client declare exactly the fields it needs rather than receiving a fixed, ever-growing REST payload, which matters when consumers like different mobile apps or roles need different subsets of data. It also supports additive, non-breaking schema evolution with field deprecation instead of REST-style versioning, though it sacrifices easy HTTP caching since everything goes through one POST endpoint. Weighing REST versus GraphQL for a multi-consumer API is easier with real architecture comparisons on daily.dev."}},{"@type":"Question","name":"How does Spring GraphQL handle errors compared to a REST controller?","acceptedAnswer":{"@type":"Answer","text":"Spring GraphQL responses return HTTP 200 even when an error occurs, with error details placed inside a JSON error object rather than relying on HTTP status codes like REST does. An exception resolver class extends a Spring Framework base class to map domain exceptions (like a missing mix session) into structured GraphQL errors, letting teams gracefully degrade responses instead of failing outright. Developers debugging GraphQL error handling patterns can find practical Spring examples on daily.dev."}},{"@type":"Question","name":"How do GraphQL subscriptions push real-time updates to clients in a Spring application?","acceptedAnswer":{"@type":"Answer","text":"A subscription mapping returns a Flux tied to a session ID; when a mutation updates a mix session, the service publishes the updated aggregate, which is filtered by session ID and streamed to the correct client over a GraphQL WebSocket. The current session is concatenated onto the flux so new subscribers immediately receive the latest state before live updates continue. Teams building live-updating features with GraphQL subscriptions can track implementation patterns on daily.dev."}}]}
```

