Hey guys. someone can help me about how consuming an API using Ember. I have a model called product
export default DS.Model.extend({
url: DS.attr('string'),
variations: [], //?
})
But i can’t access nested data called ‘variations’ , its possible make this using emberjs. Below an example my API.
data: {
url: "xxx-xxx-xxx",
variations: [
{
factsheet: { },
reference: "xxxx--xx-x-x",
brand: "LG",
url: "http://",
sellers: [],
ean: "1234567",
composite_id: "123456789",
attributes: [],
description: "xxxx..xxx",
title: "testing",
media: {},
id: "19",
is_delivery_available: true,
}
]
}