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
{{ message }}
Repository navigation
loading a parent scope should trigger client side scoping of children #82
# assume the active scope has a client side filter methodTodo.all.active.count# request just the count but not the whole scopeTodo.all.each ... # fetch the parent scope
... # later after parent scope has finished loadingTodo.all.active.each ... # this unnecessarily loads active from server
The problem all.active collection is created first, and linked to all (the parent)
but parent does not have loaded collection yet, so we skip filtering.
perhaps calling sync_collection_with_parent in the all method could fix it easily?
Activity
catmando commentedon Jan 15, 2019
closed. see batch4/scope_spec.rb: 347
fixes hyperstack-org#82 part 1 10X speed improvement in some cases
fixes hyperstack-org#82 correctly
hyper-model: key the ServerDataCache tree's id with a String (hyperst…
Merge branch 'fix/issue-82-server-data-cache-id-key' into 'edge'