Skip to content
New issue

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

Mapping abstract classes #130

Closed
tk-codes opened this issue Jan 24, 2015 · 2 comments
Closed

Mapping abstract classes #130

tk-codes opened this issue Jan 24, 2015 · 2 comments

Comments

@tk-codes
Copy link

Hello there
I am having a problem with mapping abstract classes.
I have posted the issue on stackoverflow "http://stackoverflow.com/questions/28111875/modelmapper-mapping-abstract-classes-during-runtime".

Does Modelmapper allow mapping abstract classes?

chhsiao90 added a commit that referenced this issue Apr 27, 2017
Currently, when ModelMapper decide which TypeMap to use,
it was strongly depends on the actually type of source and
destination.
But sometimes we want to define TypeMap with interface
or parent class to map there model, or configure a TypeMap to inherit
a base TypeMap.
So we introduce TypeMap.include and TypeMap.includeBase so that we can
have TypeMap inheritance.

Resolved: #13 #130 #132 #170 #202
@chhsiao90
Copy link
Member

Closed by #209

@chhsiao90
Copy link
Member

The TypeMap inheritance had been release on ModelMapper v1.0.0, please give it a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants