Sorry James I couldn't figure out how to use the PrivateAutoMapperin
conjunction with my config. I read the reasoning behind making the
PrivateAutoMapper (to prevent breaking changes), but it seems a bit of
an odd approach to me, particularly as the default method encourages
dangerous scope.
Could the AutoPersistenceModel.MapEntitiesFromAssemblyOf<User>() be
changed to something like
AutoPersistenceModel.MapEntitiesFromAssemblyOf<User>
(MapProperties.Public | MapProperties.Private |
MapProperties.Internal)
and the default value could be the current behaviour (or even make it
required and make people make the decision themselves)