Skip to content

Commit

Permalink
Id Generator removed from UnitOfWork
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinRyazantsev committed Aug 12, 2020
1 parent beb7989 commit 63af9b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Swisschain.Extensions.Idempotency/IUnitOfWork.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ public interface IUnitOfWork : IAsyncDisposable
bool IsRolledBack { get; }
Outbox Outbox { get; }

Task Init(IIdGeneratorRepository idGeneratorRepository,
IOutboxWriteRepository outboxWriteRepository,
Task Init(IOutboxWriteRepository outboxWriteRepository,
string idempotencyId,
Outbox outbox);

Expand Down
3 changes: 1 addition & 2 deletions src/Swisschain.Extensions.Idempotency/UnitOfWorkBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ public UnitOfWorkBase(IOutboxDispatcher defaultOutboxDispatcher)
protected abstract Task RollbackImpl();
protected abstract ValueTask DisposeAsync(bool disposing);

public Task Init(IIdGeneratorRepository idGeneratorRepository,
IOutboxWriteRepository outboxWriteRepository,
public Task Init(IOutboxWriteRepository outboxWriteRepository,
string idempotencyId,
Outbox outbox)
{
Expand Down

0 comments on commit 63af9b7

Please sign in to comment.