Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

class-transformer change property names

// With class-transformer, you can change the name of a column with @Expose:

@Expose({ name: "my_name" })
name: string;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #property #names
ADD COMMENT
Topic
Name
2+9 =