Skip to content

Commit

Permalink
fix(transactional)!: correct behavior of Propagation.Never
Browse files Browse the repository at this point in the history
  • Loading branch information
Papooch committed Jul 26, 2024
1 parent e93f550 commit 06a8ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/transactional/src/lib/transaction-host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export class TransactionHost<TAdapter = never> {
if (this.isTransactionActive()) {
throw new TransactionAlreadyActiveError(fnName);
}
return this.runWithTransaction(options, fn);
return this.withoutTransaction(fn);
default:
throw new TransactionPropagationError(
`Unknown propagation mode ${propagation}`,
Expand Down

0 comments on commit 06a8ec3

Please sign in to comment.