Closed thk-powertask closed 8 months ago
I am using nestjs in my personal project and I am using swc compiler. Transformer Plugin I'm trying to use , but the function of __AUTOMAPPER_METADATA_FACTORY__ is not created during the build process. Can you tell me why?
__AUTOMAPPER_METADATA_FACTORY__
No response
{ "$schema": "https://json.schemastore.org/nest-cli", "collection": "@nestjs/schematics", "sourceRoot": "src", "compilerOptions": { "deleteOutDir": true, "builder": "swc", "typeCheck": true, "plugins": [ { "name": "@automapper/classes/transformer-plugin", "options": { "modelFileNameSuffix": [ ".info.ts", ".dto.ts", ".entity.ts" ] } } ] } }
in dist folder
class UserMain { static __AUTOMAPPER_METADATA_FACTORY__() { return [ ["email", { type: () => String, depth: 1 }], ["createdDt", { type: () => String, depth: 1 }] ]; } }
8.0.0
@thk-powertask did you find any solution?
Is there an existing issue for this?
Describe the issue
I am using nestjs in my personal project and I am using swc compiler. Transformer Plugin I'm trying to use , but the function of
__AUTOMAPPER_METADATA_FACTORY__
is not created during the build process. Can you tell me why?Models/DTOs/VMs
No response
Mapping configuration
Steps to reproduce
No response
Expected behavior
in dist folder
Screenshots
No response
Minimum reproduction code
No response
Package
Other package and its version
No response
AutoMapper version
8.0.0
Additional context
No response