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
Hey, me again. Haven't yet gotten around to the last two issues but wanted to drop this in before I forget.
I'm a really big fan of avoiding @UseInterceptors. It requires users to remember to add them. On the other hand, by using APP_INTERCEPTOR you're limited to the configuration values applied at interceptor creation, at a global level.
Maybe instead we can leverage decorators? I like namespacing my decorators with the package, so maybe something like @Raven.Tags(['foo', 'bar']) would be a good way to add tags to a scope on entry into the handler?
I've never used websockets in anger in NestJS, so I'm not sure if there's a good way to do similar there.
Any thoughts?
The text was updated successfully, but these errors were encountered:
Hm, that's a good idea. I was thinking about that. This should definitely be implemented. It could even be done as another module, providing just decorator functionality. As it isn't nest specific.
Hey, me again. Haven't yet gotten around to the last two issues but wanted to drop this in before I forget.
I'm a really big fan of avoiding
@UseInterceptors
. It requires users to remember to add them. On the other hand, by usingAPP_INTERCEPTOR
you're limited to the configuration values applied at interceptor creation, at a global level.Maybe instead we can leverage decorators? I like namespacing my decorators with the package, so maybe something like
@Raven.Tags(['foo', 'bar'])
would be a good way to add tags to a scope on entry into the handler?I've never used websockets in anger in NestJS, so I'm not sure if there's a good way to do similar there.
Any thoughts?
The text was updated successfully, but these errors were encountered: