nestjs / nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
https://nestjs.com
MIT License
67.69k stars 7.63k forks source link

Websocket: Implement/integrate with decorators from typestack/socket-controllers #1409

Closed iangregsondev closed 5 years ago

iangregsondev commented 5 years ago

[ ] Regression 
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

I was wondering if there is any possibility of integrating with the following library and using the decorators that if offers.

https://github.com/typestack/socket-controllers

Or maybe implementing the decorators, there are some really good decorators that would really help

OnConnect OnDisconnect EmitOnSuccess EmitOnFail ConnectedSocket SocketRooms

To name just a few.

Does the community have the possibility to extend the websocket implemention doing decortators ? Any documentation or an example ?

Thanks

kamilmysliwiec commented 5 years ago

I don't think that we need any of these decorators.

see here: https://docs.nestjs.com/websockets/gateways

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.