@niamleeson1 wrote:
I have an Address model that is like this:
addressable: DS.belongsTo('addressable', { polymorphic: true }), country: DS.belongsTo('country', {async: false}), region: DS.belongsTo('region', {async: false}),
Here,
addressable
is accessed via an ObjectProxy. Butregion
andcountry
are not accessed via ObjectProxy. I am pre-loading all countries and US-regions via meta tag. Is pre-loading the reason why the two models do not have ObjectProxy generated for them?Thank you.
Posts: 1
Participants: 1