🎉 Smithery is now a part of Arcade.dev! Read more in our announcement here
gRPC, RabbitMQ standards and Monorepo contracts.
.proto
emit()
libs/contracts
contracts
Propagation: Standard HttpException is lost over Rpc/Tcp.
HttpException
Standard: Use RpcException and generic Filters.
RpcException
// Global RPC Filter @Catch() export class RpcExceptionFilter implements RpcExceptionFilter<RpcException> { catch(exception: RpcException, host: ArgumentsHost): Observable<any> { return throwError(() => exception.getError()); } }
class-validator
useGlobalPipes(new ValidationPipe({ transform: true }))
MicroserviceOptions