Closed maxime-aubry closed 9 months ago
Ok i found information. I use vite, which uses esBuild, that does not support emitDecoratorMetadata. What can i do ?
so this is the solution : i had this into vite.config.ts
optimizeDeps: {
esbuildOptions: {
tsconfig: 'tsconfig.json',
},
},
Is there an existing issue for this?
Describe the issue
If a property has a name in camel case, this one is never rendered. so country take the good value for country property, but countryId is always undefined... BUT, if i replace countryId by countryid, it works ! Unhopefully, i can't change the names. So it must work with countryId.
Models/DTOs/VMs
Mapping configuration
Steps to reproduce
No response
Expected behavior
Country has the good value, but countryId of destination class should not be undefined. Naming convention is always Camel case into my code.
Screenshots
No response
Minimum reproduction code
No response
Package
Other package and its version
No response
AutoMapper version
8.8.1
Additional context
No response