Back

Realtime subscription issue for collections with relationship

  • 0
  • Databases
  • Flutter
  • Realtime
kaykhahima
24 Mar, 2024, 20:22

I have two collections: "A" and "B". "A" has a two-way relationship with "B".

I have subscribed to collection "A", and any changes made to it, i can capture the payload. It works as expected. βœ…

But I was expecting, since "A" has a relationship with "B", any changes made to collection "B" should also trigger that collection "A" is modified, which is not the case as i am observing. Is this a limitation or am I doing something wrong?

NB: I am using Flutter and both collections have Read permissions set for Any role.

TL;DR
Developers facing realtime subscription issue for collections with relationship. Subscribed to collection "A" but changes in related collection "B" do not trigger a modification in collection "A". Using Flutter with Read permissions set for Any role. Will try proposed workaround from the issue. Can support the suggestion by adding a πŸ‘ to the GitHub issue <https://github.com/appwrite/appwrite/issues/6265>.
Steven
24 Mar, 2024, 20:30

No, not supported at the moment. You can add a πŸ‘ to https://github.com/appwrite/appwrite/issues/6265

kaykhahima
24 Mar, 2024, 20:37

Alright. I saw a proposed workaround from the issue. Will try that. Thanks.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more