We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutoMapper transformer plugin @automapper/classes/transformer-plugin fails to map classes when
Just removing doc comments from the property seems to work.
DTO
export default class PatchDto { /** * Software version * @example 0.1.0 */ @IsNotEmpty() @IsString() swVersion: string; }
Model
export default class Patch { swVersion: string; }
createMap(mapper, PatchDto, Patch);
// console.log(patchModel); => Patch {} const patchModel = await this.mapper.mapAsync(patchDto, PatchDto, Patch);
The mapped object should have all properties.
No response
@automapper/core
@automapper/classes
@automapper/nestjs
@automapper/pojos
@automapper/mikro
@automapper/sequelize
8.7.7
Ubuntu Node v16 Nest v9
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Describe the issue
AutoMapper transformer plugin @automapper/classes/transformer-plugin fails to map classes when
Just removing doc comments from the property seems to work.
Models/DTOs/VMs
DTO
Model
Mapping configuration
Steps to reproduce
Expected behavior
The mapped object should have all properties.
Screenshots
No response
Minimum reproduction code
No response
Package
@automapper/core
@automapper/classes
@automapper/nestjs
@automapper/pojos
@automapper/mikro
@automapper/sequelize
Other package and its version
No response
AutoMapper version
8.7.7
Additional context
Ubuntu
Node v16
Nest v9
The text was updated successfully, but these errors were encountered: