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

add *ViewModel -> *View resolution as fallback #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krisrok
Copy link

@krisrok krisrok commented May 19, 2016

add FreshViewModelMapper for fallback type mapping
add FindPageModelMapper() to FreshPageModelResolver to decide (once!) which of the conventions and mappers should be used
add backing field _pageModelMapper to PageModelMapper property and _isPageModelFound field to prevent overwriting the user's instance if she set a custom IFreshPageModelMapper

add FreshViewModelMapper for fallback type mapping
add FindPageModelMapper() to FreshPageModelResolver to decide (once!) which of the conventions and mappers should be used
add backing field _pageModelMapper to PageModelMapper property and _isPageModelFound field to prevent overwriting the user's instance if she set a custom IFreshPageModelMapper
@krisrok
Copy link
Author

krisrok commented May 19, 2016

my take on this issue.

note: users still can NOT mix both conventions. but why should they?

@blackice2999
Copy link

I think we should discuss this on a single place #72

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.

2 participants