Skip to content

Commit fe057dc

Browse files
committed
Add missing TargetAggregateIdentifier in test command
1 parent c4ebcf3 commit fe057dc

File tree

1 file changed

+3
-1
lines changed
  • kotlin/src/test/kotlin/org/axonframework/extensions/kotlin

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package org.axonframework.extensions.kotlin
22

3+
import org.axonframework.modelling.command.TargetAggregateIdentifier
4+
35
/**
46
* Simple Query class to be used in tests.
57
*/
@@ -8,4 +10,4 @@ internal data class ExampleQuery(val value: Number)
810
/**
911
* Simple Command class to be used in tests.
1012
*/
11-
internal data class ExampleCommand(val id: String)
13+
internal data class ExampleCommand(@TargetAggregateIdentifier val id: String)

0 commit comments

Comments
 (0)