I am trying to map a Component link field to a dynamic type Module and I am getting this error:
Unable to map field 'dynamic field' to property of type 'System.Object'.
Unable to cast object of type 'System.Object' to type 'Sdl.Web.Common.Models.ViewModel'.
Class:
public class aModel : EntityModel
{
public List<dynamic> aField { get; set; }
}
Does DXA support dynamic type mapping? Thanks