Guys, I would like to know if it is possible to capture the "response" of the express outside the controller. For example, could I add repsonse as a provider dependency?
Guys, I would like to know if it is possible to capture the "response" of the express outside the controller. For example, could I add repsonse as a provider dependency?
i think would be better to pass all what you need from controller (with decorators) to service methods as arguments
Guys, I would like to know if it is possible to capture the "response" of the express outside the controller. For example, could I add repsonse as a provider dependency?
Респонс вроде (точно не уверен) можно из реквеста достать и модифицируй как хочешь, удачи!