sch39
ArticlesAboutID

Articles

  • Validation, Global Error Handler, and Integration Test in WebFluxOct 2026This article adds Bean Validation and a global error handler to movies-info-service, then proves them with WebFluxTest and DataMongoTest on top of embedded MongoDB. An invalid body yields 400 with per-field messages, an unexpected exception yields 500 without leaking details, and the old tests from CRUD Reaktif with`ReactiveMongoRepository`(https://sch39.dev/articles/spring-boot-reactive-mongo-crud) still pass without MongoDB in Docker.
© 2026 sch39
PrivacyDisclaimerContactGitHubLinkedInRSSSitemap