mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-15 02:15:14 +00:00
fix: improve context handling in projections (#3638)
* fix: improve context handling in projections * fix tests * use as of system time for current sequence * use as of system time for current sequence Co-authored-by: Silvan <[email protected]>
This commit is contained in:
@@ -861,7 +861,7 @@ func testReduceErr(err error) Reduce {
|
||||
}
|
||||
|
||||
func testQuery(query *eventstore.SearchQueryBuilder, limit uint64, err error) SearchQuery {
|
||||
return func() (*eventstore.SearchQueryBuilder, uint64, error) {
|
||||
return func(ctx context.Context) (*eventstore.SearchQueryBuilder, uint64, error) {
|
||||
return query, limit, err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user