-
## Problem
Currently query logs can not relate to requests or a parent context from which they were invoked from. This means solutions like https://github.com/iamolegga/nestjs-pino or as well datad…
tak1n updated
1 month ago
-
First of all - great module!
I was wondering if there's any workaround to get the context, in case of an unhandled exception (or rejection, in case of promises). Here's a sample code:
```javas…
-
Hi,
I'm using [typeorm-transactional-cls-hooked's hooks feature](https://github.com/entrostat/typeorm-test-transactions/blob/develop/src/run-in-transaction.ts#L62) to emit events on transaction suc…
-
Hi!
I've been using `Sequelize.useCLS(namespace);`:
```
import cls from "cls-hooked";
const namespace = cls.createNamespace('api-namespace');
Sequelize.useCLS(namespace);
```
I've been facing…
-
I am using nestjs with typeorm and recentrly I added transaction support with typeorm-transactional-cls-hooked.
I made the following method:
```
@Injectable()
class ConnectionService {
construc…
-
Continuing from Jeff-Lewis/cls-hooked#63
@SimonX200
Could you share the code that you're mentioning?
I'm actually rewriting cls-hooked (to support for node v8 till the introduction of ALS). …
-
So I'm using Jest and we are strictly doing unit tests -
I used the example
```
jest.mock('typeorm-transactional-cls-hooked', () => ({
Transactional: () => () => ({}),
…
-
I have no issues with such npm overrides in my package.json, but it is still my case:
```
"semver@7.5.1": "7.5.2",
"cls-hooked@4.2.2": {
"semver@5.4.1": "7.5.2"
},
"async-l…
-
Hey guys,
thanks a lot for this lib, I managed to get it running on node 8.6.0 with express and async/await. However, I would like to ask if it is possible to use it with other library that is using …
-
Hi,
I'm trying to get a simple example working, but keep getting an error `No context available. ns.run() or ns.bind() must be called first.` This is locally in unit tests and deployed.
I've w…