Skip to content

Commit 95655d6

Browse files
committed
docs(gateways): explicit mention serializer interceptor
1 parent 6dccf15 commit 95655d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/websockets/gateways.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ handleEvent(data) {
128128

129129
> info **Hint** The `WsResponse` interface is imported from `@nestjs/websockets` package.
130130
131-
> warning **Warning** You should return a class instance that `implements WsResponse` if your `data` field relies on Nest's serialization, as it ignores plain JavaScript objects responses.
131+
> warning **Warning** You should return a class instance that `implements WsResponse` if your `data` field relies on `ClassSerializerInterceptor`, as it ignores plain JavaScript objects responses.
132132
133133
In order to listen for the incoming response(s), the client has to apply another event listener.
134134

0 commit comments

Comments
 (0)