Removed default referenceId - avoiding rouge events
This commit is contained in:
1 parent
f6798a8a45
commit
5082571ce8
1 file changed
+1
-1
@@ -4,7 +4,7 @@ import java.util.UUID
|
||||
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
abstract class Event {
|
||||
var referenceId: UUID = UUID.randomUUID()
|
||||
lateinit var referenceId: UUID
|
||||
protected set
|
||||
var eventId: UUID = UUID.randomUUID()
|
||||
private set
|
||||
|
||||
Reference in new issue
Block a user