Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

Getting attributes from Internal Models

$
0
0

@dizip wrote:

Hi, when i get response and serialize it to jsonapi i have bad-looking response. I'm talking about long path to attributes.
Before using ember-data i just created objects with computed property to get attribute which i need, now if i want to get 'name' i have to write something like 'content._data.properties.name' what looks bad in hbs files. Should i use helpers to it or is there any posibility to get this attribute if i know this long path to them?

Thanks for help!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles