greenrobot / ObjectBoxRxJava

Optional RxJava 2 APIs for ObjectBox
Apache License 2.0
71 stars 8 forks source link

Deleting all entities from a box doesn't emit an item from a reactive query #8

Closed maciej-kaznowski closed 6 years ago

maciej-kaznowski commented 6 years ago

When I subscribe to an observable such as RxQuery.observable(box.query().build()) and then delete all entities from the box via box.removeAll() then it doesn't emit an empty list of entities.

greenrobot-team commented 6 years ago

I created a test case and it works as expected. After removeAll() an empty set of results can be observed in onNext().

It would help if you can provide a small example project that reproduces this error. -ut

greenrobot-team commented 6 years ago

No response. Closing. -ut