Ondřej Švanda

Results 77 comments of Ondřej Švanda

Ah, I see, that is the nature of the callback-style transaction, in which the only way to rollback is to throw an error. In that case, you could write an...

If you need to use request scope with CQRS, you'd either need to play with [`ContextIdFactory`](https://docs.nestjs.com/fundamentals/module-ref#registering-request-provider) or use an alternative like [AsyncLocalStorage](https://docs.nestjs.com/recipes/async-local-storage) to propagate request context.

@supersuperfranz please see this answere here: https://github.com/Papooch/WasteOptimiser/issues/26#issuecomment-2712979466

Would you like to try and contribute with a Drizzle adapter?

The [Drizzle adapter](https://papooch.github.io/nestjs-cls/plugins/available-plugins/transactional/drizzle-orm-adapter) was just released.

Typescript/Javascript cannot reflect function parameter names, so we can only really use the order of the params --- I am proposing this API: ```ts @Span( 'DocumentsService.create', (_, userId, orgId, dto)...

In SQL, update statements that do not match any rows with WHERE do not throw errors. It just does not update anything. ```sql UPDATE users SET ??? WHERE id=2 RETURNING...