How do i use AutoMapper to map a PointerItem to an Organization?
My pointer is referencing an Organization, but i need to retrieve some data from that particular Organization.
This is what i’ve got so far.
.ForMember(x => x.Organization, m => m.MapFrom(organization => organization.GetValue<PointerItem>(BlockFieldNameConstants.OrganizationPointer).EntitySystemId.MapTo<Organization>()));
Should i create a resolver for this case?