mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:17:32 +00:00
fix(eventstore): improve pagination of handler filter (#6968)
* fix(setup): add filter_offset to `projections.current_states` * fix(eventstore): allow offset in query * fix(handler): offset for already processed events
This commit is contained in:
@@ -97,9 +97,9 @@ func GenericEventMapper[T any, PT BaseEventSetter[T]](event Event) (Event, error
|
||||
return e, nil
|
||||
}
|
||||
|
||||
func isEventTypes(event Event, types ...EventType) bool {
|
||||
func isEventTypes(command Command, types ...EventType) bool {
|
||||
for _, typ := range types {
|
||||
if event.Type() == typ {
|
||||
if command.Type() == typ {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user