zitadel/internal/eventstore/repository/mock
Silvan 1ee7a1ab7c
feat(eventstore): accept transaction in push (#8945)
# Which Problems Are Solved

Push is not capable of external transactions.

# How the Problems Are Solved

A new function `PushWithClient` is added to the eventstore framework
which allows to pass a client which can either be a `*sql.Client` or
`*sql.Tx` and is used during push.

# Additional Changes

Added interfaces to database package.

# Additional Context

- part of https://github.com/zitadel/zitadel/issues/8931

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2024-11-22 17:25:28 +01:00
..
gen_mock.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
repository.mock.go feat(eventstore): accept transaction in push (#8945) 2024-11-22 17:25:28 +01:00
repository.mock.impl.go feat(eventstore): accept transaction in push (#8945) 2024-11-22 17:25:28 +01:00
repository.mock.matcher.filter.go chore(Makefile): add go generate target (#6944) 2023-11-22 10:56:43 +00:00
repository.mock.matcher.searchquery.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00