-
Notifications
You must be signed in to change notification settings - Fork 334
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
Fix issue #524 - Add support for working with types packed into an object to the standard adapter #645
Conversation
Seems like, It was simply necessary to apply an already developed solution. By adding it to a standard adapter. :) |
Hello @andrerav
Therefore, this is not exactly an
The main problem is the following: |
@andrerav It looks like now the work on the fix is really complete. Update: |
e0ae818
to
4f016de
Compare
@DocSvartz Could you please resolve this merge conflict when you have time? Looks like it should be fairly trivial :) |
Thank you @DocSvartz! |
Fix issue #524
Before:
if Type was packaged into an object:
object _source = new TSource()
Instead of updating with data from TSource, it was converted to the TDestination type
_source.Adapt(_destination) == _source.Adapt<TDistination>