mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 00:27:31 +00:00
fix(projections): pass context to statement execution method (#10328)
## Which problems are solved The execution of statements of projections did not have the context present. ## How the problems were solved Pass the context to the execute function ## Additional info This change is required to use the repositories of the relational tables in projections.
This commit is contained in:
@@ -6,7 +6,7 @@ import "context"
|
||||
type Init func(context.Context, *Check) error
|
||||
|
||||
type Check struct {
|
||||
Executes []func(ex Executer, projectionName string) (bool, error)
|
||||
Executes []func(ctx context.Context, executer Executer, projectionName string) (bool, error)
|
||||
}
|
||||
|
||||
func (c *Check) IsNoop() bool {
|
||||
|
Reference in New Issue
Block a user