Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imcompatibility when using dexie-observable #29

Open
adamJLev opened this issue Jan 22, 2018 · 1 comment
Open

Imcompatibility when using dexie-observable #29

adamJLev opened this issue Jan 22, 2018 · 1 comment

Comments

@adamJLev
Copy link

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!

@pimhakkert
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants