use of AutoMapper in 4.40->4.60

2 недели назад
Does anyone have a plugin using AutoMapper by any chance, that went from 4.40 to 4.60? There's been major API changes in the package...

Our 4.40 plugin is adding a mapping to the mapper in nop core (and I am not entirely certain it's doing it right, but anyway) -- that no longer compiles.

From looking at the code, it seems all I need to do in 4.60 is inherit the profile from IOrderedMapperProfile and NopEngine will automagically pick it up on startup? And none of the old code is needed? Am I reading it right?

TIA
2 недели назад
You can look at an example in our Facebook Pixel plugin.
2 недели назад
Thank you Max.

It's weird that "find in files" did not turn it up here... :shrug: