You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have migrated my projects from NHibernate 5.2.6 to NHibernate 5.3.5 and from Automapper 9.0.0 to Automapper 10.1.1 and now (Automapper) ProjectTo not returns the same records of NHibernate query. In particular, this happens when the DTO in use uses the same naming conventions (of automapper) that I have always used: for example the CustomerId property of the DTO is resolved with the value of nested object Customer.Id. The same line of code works fine with Automapper 10.1.1 and NH 5.2.7, but don't works with Automapper 10.1.1 and NHibernate 5.3+.
I am attaching an unit test to show the issue in action. Automapper.zip
I have read the various release notes from version 5.3.0 onwards and have not found any related breacking change mentioned: did I miss something?
Before, I have also open an issue on Automapper project but, after that I have viewed the Automapper execution-plan, I see that nothing is changed from AutoMapper 9.0.0 and Automapper 10.1.1.
It is this issue related to ticket #2334?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I have migrated my projects from NHibernate 5.2.6 to NHibernate 5.3.5 and from Automapper 9.0.0 to Automapper 10.1.1 and now (Automapper) ProjectTo not returns the same records of NHibernate query. In particular, this happens when the DTO in use uses the same naming conventions (of automapper) that I have always used: for example the CustomerId property of the DTO is resolved with the value of nested object Customer.Id. The same line of code works fine with Automapper 10.1.1 and NH 5.2.7, but don't works with Automapper 10.1.1 and NHibernate 5.3+.
I am attaching an unit test to show the issue in action.
Automapper.zip
I have read the various release notes from version 5.3.0 onwards and have not found any related breacking change mentioned: did I miss something?
Before, I have also open an issue on Automapper project but, after that I have viewed the Automapper execution-plan, I see that nothing is changed from AutoMapper 9.0.0 and Automapper 10.1.1.
It is this issue related to ticket #2334?
Thanks in advance.
The text was updated successfully, but these errors were encountered: