Closed
Description
if a remote delete is received everything works except observers of the scope are not notified.
This because collections never notify while data is loading (not sure why)
It seems though that the only broken case is when a nested scope is updated by an async notification. So a workaround is to add this code
Hyperstack::Internal::State::Mapper.bulk_update do
Hyperstack::Internal::State::Variable.set(target, :collection, target.collection)
end
immediately after
target.replace loaded_collection
in server_data_cache.rb