TypeORM Helper
TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8.
#
TypeORM FacilityTypeORM uses different way on defining decorators, so without further step its impossible for Plumier to get type information of the entity decorated with TypeORM decorators, which will be problem if you want to use your entity as your DTO.
Plumier provided Facility to automatically transform your TypeORM decorated entity so it can be used by Plumier.
Using above configuration, its now possible to use entity as the DTO like below