#521 - Polishing.
Use inherited dependency management for Coroutine dependencies. Slight documentation tweaks. Original pull request: #522.
This commit is contained in:
@@ -57,7 +57,7 @@ interface PersonRepository : CrudRepository<Person, String> {
|
||||
|
||||
## Type-Safe Kotlin Mongo Query DSL
|
||||
|
||||
Using the `Criteria` extensions allows to write type-safe queries via an ideomatic API.
|
||||
Using the `Criteria` extensions allows to write type-safe queries via an idiomatic API.
|
||||
|
||||
```kotlin
|
||||
operations.find<Person>(Query(Person::firstname isEqualTo "Tyrion"))
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@@ -11,10 +12,6 @@
|
||||
<artifactId>spring-data-mongodb-kotlin</artifactId>
|
||||
<name>Spring Data MongoDB - Kotlin features</name>
|
||||
|
||||
<properties>
|
||||
<kotlin-coroutines>1.3.0-RC2</kotlin-coroutines>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
@@ -28,16 +25,14 @@
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-reflect</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains.kotlinx</groupId>
|
||||
<artifactId>kotlinx-coroutines-core</artifactId>
|
||||
<version>${kotlin-coroutines}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains.kotlinx</groupId>
|
||||
<artifactId>kotlinx-coroutines-reactor</artifactId>
|
||||
<version>${kotlin-coroutines}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains.kotlinx</groupId>
|
||||
<artifactId>kotlinx-coroutines-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains.kotlinx</groupId>
|
||||
<artifactId>kotlinx-coroutines-reactor</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.projectreactor</groupId>
|
||||
<artifactId>reactor-test</artifactId>
|
||||
|
||||
@@ -33,6 +33,7 @@ import org.springframework.test.context.junit4.SpringRunner
|
||||
import reactor.test.StepVerifier
|
||||
|
||||
/**
|
||||
* Tests showing Coroutine capabilities.
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
*/
|
||||
|
||||
@@ -32,6 +32,8 @@ import org.springframework.data.mongodb.core.query.regex
|
||||
import org.springframework.test.context.junit4.SpringRunner
|
||||
|
||||
/**
|
||||
* Tests showing the Mongo Criteria DSL.
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
*/
|
||||
@RunWith(SpringRunner::class)
|
||||
|
||||
Reference in New Issue
Block a user