Skip to content

Subscribing to updates on a join table #413

@imownbey

Description

@imownbey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions