alles en scheiss

This commit is contained in:
adlerhurst
2025-03-07 07:26:32 +01:00
parent 67b22ef9c4
commit 9bc75d43d9
5 changed files with 173 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ func (h *Handler) currentState(ctx context.Context, tx *sql.Tx, config *triggerC
stateQuery = currentStateAwaitStmt
}
row := tx.QueryRow(stateQuery, currentState.instanceID, h.projection.Name())
row := tx.QueryRowContext(ctx, stateQuery, currentState.instanceID, h.projection.Name())
err = row.Scan(
aggregateID,
aggregateType,