もう2023年になったので、今さらNestJSに入門しようと思う - その18

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