dexie-relationships icon indicating copy to clipboard operation
dexie-relationships copied to clipboard

Imcompatibility when using dexie-observable

Open adamJLev opened this issue 7 years ago • 1 comments

Hi there,

I've noticed that when using dexie-observable and dexie-relationships together, an error is raised as soon as you call db.on('changes', (changes) => {}

Uncaught (in promise) TypeError: Cannot read property 'subscribe' of undefined.

To reproduce simply add this import in your file that initializes the Dexie isntance: import 'dexie-observable';

Thanks!

adamJLev avatar Jan 22 '18 11:01 adamJLev

Any update on this? It's been over 2 years, but I really need an observer. I will log my actions manually for now.

pimhakkert avatar Aug 22 '20 13:08 pimhakkert