Below Code:
public class parentclass{
public class Model{
@AuraEnabled public String year {get;set;}
@AuraEnabled public Map<Integer, Decimal> dataMap {get;set;}
}
}
Component Code:
<aura:component controller="parentclass" implements="flexipage:availableForAllPageTypes,force:hasRecordId" access="global">
<aura:attribute name="listVehicles" type="parentclass.Model[]" />
** Erorr while saving the component:
This is speacially on the API 42 version, I have old component which is on 40 API version works absolutely fine. Is this is a bug or not the right way to use wrapper any more in lightning ?
Any ideas appreciated !
Thanks