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
There needs to be a way to easily ignore multiple properties; this kind of thing is noisy:
var mapper = FluentMapper .ThatMaps<Thing>().From<OtherThing>() .IgnoringSourceProperty(x => x.Id) .IgnoringSourceProperty(x => x.Prop) .IgnoringSourceProperty(x => x.YetAnotherProp) .IgnoringSourceProperty(x => x.Properronius) .IgnoringSourceProperty(x => x.MoarDataz) .IgnoringSourceProperty(x => x.GetThePictureYet) .Create();
Should be able to use an anonymous type like so:
var mapper = FluentMapper .ThatMaps<Thing>().From<OtherThing>() .IgnoringSourceProperties(x => new { x.Id, x.Prop, x.YetAnotherProp, x.Properronius, x.MoarDataz, x.GetThePictureYet, }) .Create();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There needs to be a way to easily ignore multiple properties; this kind of thing is noisy:
Should be able to use an anonymous type like so:
The text was updated successfully, but these errors were encountered: