-
Notifications
You must be signed in to change notification settings - Fork 934
NH-3704 - Allow Setting Dynamic Component Templates From Dictionary #341
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
Conversation
@rjperes can you please remove references to SharpTestEx? |
OK. |
explicitDeclarationsHolder.AddAsDynamicComponent(propertyPath.LocalMember, componentType); | ||
} | ||
|
||
private System.Type CreateType(IDictionary<string, System.Type> properties) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand your aspiration to implement changes with fewer possible code changes, but I want to have this properly implemented
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, but try another way, it's not easy.
MappingByCode is heavily dependent on MemberInfo. So, it might be that this hack is actually justified. |
@rjperes's PRs have been orphaned by the deletion of their repository, which causes them to be unpractical to work with. They can still be retrieved with, for example:
This assumes Pushing to the PR seems not possible. I have tried:
And got:
So for working with these PRs, I think we will have to reopen new ones replacing them. |
Replaced by #1941. |
#913 (NH-3704)
With unit tests