You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Novu NodeJS library is inherited from EventEmitter but there is no way to listen to events (also http events) or add interceptor(s) to handle errors on http context since "http" is implemented as private.
🎤 Why is this feature needed ?
I need to transpile generated errors into a more understandable context for my application.
✌️ How do you aim to achieve this?
This can be easily achieved by exposing http context or by giving the option to add interceptor(s) at the event of Client instance creation.
🔖 Feature description
Novu NodeJS library is inherited from EventEmitter but there is no way to listen to events (also http events) or add interceptor(s) to handle errors on http context since "http" is implemented as private.
🎤 Why is this feature needed ?
I need to transpile generated errors into a more understandable context for my application.
✌️ How do you aim to achieve this?
This can be easily achieved by exposing http context or by giving the option to add interceptor(s) at the event of Client instance creation.
🔄️ Additional Information
I am using a workaround at the moment.
👀 Have you spent some time to check if this feature request has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: