Add new decorator @WebSocketRoute()
and @WebSocketDriver()
#715
Labels
enhancement
New feature or request
@WebSocketRoute()
and @WebSocketDriver()
#715
Will add new decorators
@WebSocketRoute()
and@WebSocketDriver()
, which wrap TGrid features.With those decorators, NestJS users can develop websocket server much type safely.
Also, if such websocket decorators being used, automatically generated SDK will also contain the websocket features with
tgrid
library importing. Of course, in the SDK generation case, the generic arguments ofWebSocketAcceptor<ChatServerProvider, ChatClientProvider>
would be important.NestJS Controller
Providers
Client Use Case
The text was updated successfully, but these errors were encountered: