sch39
ArticlesAboutID

Articles

  • Reactive CRUD with `ReactiveMongoRepository`Oct 2026This article builds reactive CRUD for MovieInfo on top of ReactiveMongoRepository and a WebFlux annotated controller, then proves it with WebTestClient against a real MongoDB. The tests show that the id is generated by MongoDB, that PUT replaces fields without upserting, and that a missing id yields 404 via switchIfEmpty. Everything runs on Spring Boot 4.1 with the spring.mongodb.* properties.
© 2026 sch39
PrivacyDisclaimerContactGitHubLinkedInRSSSitemap