mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 00:47:33 +00:00
refactor(v2): init events (#7823)
creates events structures for initial projections and read models
This commit is contained in:
@@ -12,6 +12,11 @@ type intent struct {
|
||||
sequence uint32
|
||||
}
|
||||
|
||||
func (i *intent) nextSequence() uint32 {
|
||||
i.sequence++
|
||||
return i.sequence
|
||||
}
|
||||
|
||||
func makeIntents(pushIntent *eventstore.PushIntent) []*intent {
|
||||
res := make([]*intent, len(pushIntent.Aggregates()))
|
||||
|
||||
|
Reference in New Issue
Block a user