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

can now map to interface #57

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

jeroenvs
Copy link
Member

@jeroenvs jeroenvs commented Apr 21, 2016

This feature does introduce a (provided) dependency between the bean mapper core and spring. I know that this goes against the initial design goal.

A possible solution would be to rename beanmapper-spring to beanmapper-mvc as this library primarly consists of mvc logic anyway. Also the core should dynamically check if spring is on the classpath, rather than throwing class not found exceptions.


By calling the map from an object to an interface type you create a 'projection' of the source object. This proxy stays in synch with the actual source object, providing real time data. See the issue for more details.

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

Successfully merging this pull request may close these issues.

1 participant