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

Subscriptions with $client query parameters are not reactive #56

Closed
tjramage opened this issue Apr 22, 2017 · 0 comments
Closed

Subscriptions with $client query parameters are not reactive #56

tjramage opened this issue Apr 22, 2017 · 0 comments

Comments

@tjramage
Copy link

Steps to reproduce

const setStore = data => {
    // set card store logic...
}

this.service.find({ query: { cardType: 'story', $client: { teamId: '12345' } } }).subscribe(setStore)

Expected behaviour

setStore() is called with result of initial find query, and should also be called upon subsequent changes to any documents associated with the query.

Actual behaviour

setCardStore() is first called with correct data, but subsequent calls result in an empty data array (rather than all relevant documents)

System configuration

Setup using a RethinkDb database.

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

1 participant