namlook / ember-eureka

Ember client for Eureka applications
MIT License
3 stars 0 forks source link

allow relation fields in __title__ #23

Closed namlook closed 10 years ago

namlook commented 10 years ago
___title__: {template: "{{relation.title}} {{otherField}}"}

and

__title__: {bindTo: "relation.title"}}

Question: what about search and speed ?

namlook commented 10 years ago

The solution:

__title__: {template: "{{relation.content.title}} {{otherField}}"}

using descriptors are allowed:

__title__: {{template: "{{relation.__title__}} {{otherField}}"}