Hi there ! I have a collection with a relationship to another and I'm trying to use realtime on that first collection. It seems like when receiving the event on the Flutter side, the relationship isn't part of the payload. Although, it seems to work fine when using basic HTTP request through SDK and not realtime.
I'm wondering, how does realtime handles collection relationships ? Am I missing something ? Thanks a lot !
It doesn't. They aren't included for security/speed
Keep in mind relationships are experimental and can lead to performance problems so use them sparingly
I understand, thank you for the heads up ! Is this considerated as a possible improvement in the future of relationships ?
Possibly, but unlikely. We'd have to run through each document for each subscriber to check if they have access. That could be expensive for something that should be fast
Indeed, it might be too extensive. That's alright, I'll find another way around, thank you for your time ! Loving Appwrite so far 🔥
Recommended threads
- [Regression] Appwrite 25.1.0 returns Inv...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...