Skip to content

Commit ac29d05

Browse files
author
Gideon Hoogeveen
committed
Adding extension functions for the queryGateway to allow simplified querying with only the query object and query response type defined. (without query name)
1 parent 8b96932 commit ac29d05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kotlin/src/test/kotlin/org/axonframework/extensions/kotlin/QueryGatewayExtensionsTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class QueryGatewayExtensionsTest {
7676
subjectGateway.query(exampleQuery, matchExpectedResponseType(String::class.java))
7777
}
7878
}
79+
7980
@Test
8081
fun `Query without queryName for Optional should invoke query method with correct generic parameters`() {
8182
val queryResult = subjectGateway.queryForOptional<String, ExampleQuery>(query = exampleQuery)

0 commit comments

Comments
 (0)