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

Wrong typing of query.$ #6285

Closed
mbret opened this issue Aug 1, 2024 · 1 comment
Closed

Wrong typing of query.$ #6285

mbret opened this issue Aug 1, 2024 · 1 comment

Comments

@mbret
Copy link

mbret commented Aug 1, 2024

The query observable $ is typed as BehaviorSubject while it's a simple Observable and will crash when trying to call asObservable()

get $(): BehaviorSubject<RxQueryResult> {

@pubkey
Copy link
Owner

pubkey commented Aug 1, 2024

yes, this should be of type Observable, not BehaviorSubject.

pubkey added a commit that referenced this issue Aug 2, 2024
@pubkey pubkey closed this as completed Aug 3, 2024
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