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
The addon uses urlSegments for dynamic portions of nested routes. How to pass information from the model to the functions of urlSegments is non-obvious.
As of 72c1aad, the README uses sessions.
Catch: Managing state in a singleton; bad bad. That's what the router is for.
A stackoverflow post mentions the use of query.
Catch: Query is null for most common urlFor* methods such as urlForFindAll() <-- this.store.findAll(). Must use this.store.query() or this.store.queryRecord()
I prefer snapshot.adapterOptions, as snapshot is available for all urlFor* methods.
The addon uses
urlSegments
for dynamic portions of nested routes. How to pass information from the model to the functions ofurlSegments
is non-obvious.As of 72c1aad, the README uses sessions.
Catch: Managing state in a singleton; bad bad. That's what the router is for.
A stackoverflow post mentions the use of query.
Catch: Query is
null
for most commonurlFor*
methods such asurlForFindAll() <-- this.store.findAll()
. Must usethis.store.query()
orthis.store.queryRecord()
I prefer
snapshot.adapterOptions
, as snapshot is available for allurlFor*
methods.Details...
slides, video
The text was updated successfully, but these errors were encountered: