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

Subscribing to updates on a join table #413

Open
imownbey opened this issue Mar 17, 2024 · 0 comments
Open

Subscribing to updates on a join table #413

imownbey opened this issue Mar 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@imownbey
Copy link

This is more of a question, but I am trying to subscribe to updates on a join table to add a row to a able. So if theres a table of "message_recipients" with message_id and user_id, and I have list showing all of a users messages, I want to subscribe to new messages to that user and update the list. I understand using useSubscriptionWithQuery to query for nested releationships when a subscription happens, but I do not know how I can update a list with that subscription.

@imownbey imownbey added the bug Something isn't working label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant