This allows model._initQueries and by extension model.unbundle to be called multiple times, with fetch/subscribe counting incrementing appropriately each time. This matches the behavior of doc fetch/subscribe counting in model.unbundle.
Previously, new queries would be created every time _initQueries was called, which mean the fetch/subscribe counts got reset.
This allows
model._initQueries
and by extensionmodel.unbundle
to be called multiple times, with fetch/subscribe counting incrementing appropriately each time. This matches the behavior of doc fetch/subscribe counting inmodel.unbundle
.Previously, new queries would be created every time
_initQueries
was called, which mean the fetch/subscribe counts got reset.