Open jobcespedes opened 9 months ago
Describe the bug No event handler is trigger when using inheritAppConfig and ClassSerializerInterceptor
To Reproduce Steps to reproduce the behavior:
inheritAppConfig: true
app.useGlobalInterceptors(new ClassSerializerInterceptor(app.get(Reflector)))
order.updated
@EventHandler('order.updated')
// app.useGlobalInterceptors(new ClassSerializerInterceptor(app.get(Reflector)))
Expected behavior All functions with decorator @EventHandler() are triggered
@EventHandler()
Describe the bug No event handler is trigger when using inheritAppConfig and ClassSerializerInterceptor
To Reproduce Steps to reproduce the behavior:
inheritAppConfig: true
.app.useGlobalInterceptors(new ClassSerializerInterceptor(app.get(Reflector)))
order.updated
@EventHandler('order.updated')
is omitted// app.useGlobalInterceptors(new ClassSerializerInterceptor(app.get(Reflector)))
order.updated
@EventHandler('order.updated')
is triggeredExpected behavior All functions with decorator
@EventHandler()
are triggered