#how come websocket gateways don't inherit app_guard?

4 messages · Page 1 of 1 (latest)

turbid latch
#

and is there any way to ensure that they do without having to import my auth module into the unrelated gateway?

sharp oracle
#

Try adding { inheritAppConfig: true } to the WebSocketGateway decorator's config object.

turbid latch
#

didn't know that was a thing!

turbid latch