前回 takasehiromichiex.com nullを除外するインターセプタ null値が出現するたびに、空の文字列に変換するインターセプタを作成します。 $ nest g interceptor interceptor/excludeNull 以下のファイルが作成されました。 src/interceptor/exclude-null/exclude-null.interceptor.ts import { CallHandler, ExecutionContext, Injectable, NestInterceptor } from '@nestjs/common'; import …