File tree Expand file tree Collapse file tree 3 files changed +18
-20
lines changed Expand file tree Collapse file tree 3 files changed +18
-20
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- import { TransformationOptions } from "../TransformationOptions" ;
2-
31/**
42 * Extra options that apply to each controller action.
53 */
6- export interface ControllerOptions extends TransformationOptions {
4+ export interface ControllerOptions {
5+ /**
6+ * If set to false, class-transformer won't be used to perform request serialization.
7+ */
8+ transformRequest ?: boolean ;
79
10+ /**
11+ * If set to false, class-transformer won't be used to perform response serialization.
12+ */
13+ transformResponse ?: boolean ;
814}
Original file line number Diff line number Diff line change 1- import { TransformationOptions } from "../TransformationOptions" ;
2-
31/**
42 * Extra handler-specific options.
53 */
6- export interface HandlerOptions extends TransformationOptions {
4+ export interface HandlerOptions {
5+ /**
6+ * If set to false, class-transformer won't be used to perform request serialization.
7+ */
8+ transformRequest ?: boolean ;
79
10+ /**
11+ * If set to false, class-transformer won't be used to perform response serialization.
12+ */
13+ transformResponse ?: boolean ;
814}
You can’t perform that action at this time.
0 commit comments