Browse Source

Start building against Reactor Bom 2025.0.0-RC1 snapshots

See gh-47490
pull/47626/head
Phillip Webb 2 months ago
parent
commit
581389aef4
  1. 2
      documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/data/sql/r2dbc/repositories/CityRepository.kt
  2. 2
      documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive/webflux/CustomerRepository.kt
  3. 2
      documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive/webflux/MyRestController.kt
  4. 2
      platform/spring-boot-dependencies/build.gradle

2
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/data/sql/r2dbc/repositories/CityRepository.kt

@ -21,7 +21,7 @@ import reactor.core.publisher.Mono @@ -21,7 +21,7 @@ import reactor.core.publisher.Mono
interface CityRepository : Repository<City, Long> {
fun findByNameAndStateAllIgnoringCase(name: String, state: String): Mono<City?>
fun findByNameAndStateAllIgnoringCase(name: String, state: String): Mono<City>
}

2
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive/webflux/CustomerRepository.kt

@ -21,7 +21,7 @@ import reactor.core.publisher.Flux @@ -21,7 +21,7 @@ import reactor.core.publisher.Flux
interface CustomerRepository : ReactiveCrudRepository<Customer, Long> {
fun findByUser(user: User?): Flux<Customer?>?
fun findByUser(user: User?): Flux<Customer>
}

2
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive/webflux/MyRestController.kt

@ -35,7 +35,7 @@ class MyRestController(private val userRepository: UserRepository, private val c @@ -35,7 +35,7 @@ class MyRestController(private val userRepository: UserRepository, private val c
@GetMapping("/{userId}/customers")
fun getUserCustomers(@PathVariable userId: Long): Flux<Customer> {
return userRepository.findById(userId).flatMapMany { user: User? ->
return userRepository.findById(userId).flatMapMany { user: User ->
customerRepository.findByUser(user)
}
}

2
platform/spring-boot-dependencies/build.gradle

@ -1928,7 +1928,7 @@ bom { @@ -1928,7 +1928,7 @@ bom {
]
}
}
library("Reactor Bom", "2025.0.0-M7") {
library("Reactor Bom", "2025.0.0-SNAPSHOT") {
considerSnapshots()
calendarName = "Reactor"
group("io.projectreactor") {

Loading…
Cancel
Save