FAQ
-
How are input types inferred on the client?
- The first parameter of each
@Route()
method is treated as the input type. Exporttype Manifest = typeof manifest
on the server and usenew RpcClient<Manifest>()
on the client.
- The first parameter of each
-
Can I decorate the first parameter?
- Prefer not to. Index 0 is the raw input and should be left undecorated.
-
How do I access the Nest request/response?
- Use standard Nest request/response access patterns inside your router methods or global interceptors/guards.