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

🐛 Bug Report: Realtime event not getting send when child relation is updated/established #5451

Open
2 tasks done
PaulDotterer opened this issue Apr 28, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@PaulDotterer
Copy link

👟 Reproduction steps

I have two collections, chats and messages, with two way relation attributes between them.
One Chat can contain many messages, one message can contain one chat.

When subscribing to a chat document no event gets send to the client when a message with a relation to that chat is created.
The relation gets updated inside the chat document.

I don't know if this is expected behaiviour, i cloud now find anything related to that inside docs.

👍 Expected behavior

Fire a realtime update event when a message gets added to the chat document via relation

👎 Actual Behavior

Realtime event only gets triggerd when message is created without a relation to a chat document and then chat is updated to establish the relation with the message

🎲 Appwrite version

Version 1.3.x

💻 Operating system

MacOS

🧱 Your Environment

SvelteKit

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@PaulDotterer PaulDotterer added the bug Something isn't working label Apr 28, 2023
@joeyouss
Copy link

joeyouss commented May 8, 2023

Hi - mentioning @abnegate here for feedback on this. This is a beta feature and we have more iterations planned!

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

2 participants