Ednardo Teixeira

Results 6 comments of Ednardo Teixeira

Resolution: ` use(...) { if (!httpContext.ns.active) { let context = httpContext.ns.createContext(); httpContext.ns.context = context; httpContext.ns.active = context; } } `

@cupofjoakim It makes this instance in the creation of its initial context because this is an express-context bug. This is what I realized in debugging.

@cupofjoakim, this is only once. It's a hammer hehe

> Same issue here. Solved with @eteixeira94 patch (many thanks!), but should be solved in a better way. @jbaris, sorry I don't even know if this project is public to...

Sorry, I'm already using "httpContext.middleware" in the application, but it still has an error. ![20200511_125904](https://user-images.githubusercontent.com/5784592/81583107-3d81b480-9387-11ea-918f-ab79ced5a2dc.jpg) The error can be simulated when it is necessary to recover a value, for example,...

![20200511_131606](https://user-images.githubusercontent.com/5784592/81584867-b550de80-9389-11ea-8dc6-6786c6c1eeab.jpg) @jbaris