You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the ember docs, they mention JSON-API's include parameter, which isn't available for ember-pouch users as far as I can tell. What method is suggested for loading asynchronous, nested relationships?
The text was updated successfully, but these errors were encountered:
I don't understand why a belongsTo would not load with async: true. This should work:
{{project.timeline.name}}
The route not loading the model you request should not be related to async.
You also mention hasMany but don't have any in your examples. Could you clarify your problem?
Confused about the best way to load nested models (parent models which have one or more
hasMany
relationships). For example:Currently, with ember data's
async: true
behaviour, any nested model does not load, even if accessed from the template:Where
timeline.id
renders as expected when the child timeline is first created, but subsequent loads fail in the route via this query:Where the model looks like this:
(
models/project.js
)(
models/timeline.js
)In the ember docs, they mention JSON-API's
include
parameter, which isn't available for ember-pouch users as far as I can tell. What method is suggested for loading asynchronous, nested relationships?The text was updated successfully, but these errors were encountered: