Server Overview
This package provides the NestJS integration and runtime for defining and executing RPC routes.
- Decorators:
@Router()for classes and@Route()for methods - Manifest:
defineManifest({...})to map keys to routers/nested maps - Init:
nestRpcInit(manifest, { apiPrefix })BEFORENestFactory.create(...)
Notes:
- The first method parameter is the raw input. Its type flows to the client. Do not decorate index 0.
- The
apiPrefixdefaults tonestjs-rpcwhen not provided.