Varun Agarwal

Results 20 comments of Varun Agarwal

The same structure holds for js. It makes no difference. You will need to remove all the `type` defined and change the start scripts.

I tried splitting code like this but I get an error saying `this` is undefined inside the class. Any idea what may cause this? Tried logging `this` in the constructor...

I used `.bind()` and it is now working. I think when passing the controller as a middleware the context for `this` inside the controller class comes as undefined. My current...

Understood, but when you need to pass multiple middleware such as validation for token, or permission and roles, won't you need to split the functions into individual controllers? On Tue,...

@santiq Thanks for the link. Yes I currently don't have any state but once I require it, will definitely shift. What do you think about moving the ctx/ request context...

@HappyZombies Hey in this pattern have you tried using arrow functions inside the controller and service class instead of defining the functions. Eg `async doSomething(req, res, next) { }` becomes...

Added a comment at a line that confused me. Not sure if I didn't understand the flow or it is a valid concern. The `docker-compose` file personally will help me...

In other repositories like `basic-network` the image in docker-compose file is usually `hyperledger/fabric-ca:1.x.x` for the CA. Would this change work? Not entirely sure how this works, Horea any thoughts? ```...

Did you initiate the client properly and use `new User({ })` constructor or import a user details from a wallet? Can you share the relevant code snippet you wrote.

Im having a similar issue. say I want the label to be blue for which I type app:mtf_labelColor="#0000ff" but I want the edit text to look like a white box...