
Hi! I'm testing the realtime in web, and it works flawlessly. I call for an specific ID in the collection, so the document is the only thing I'm subscribing at, but the relationships defined in the DB are not present in that change, nor does it triggers the change when the a related entry gets created or updated. Is this expected? or is there a way to configure this differently? I could not find any docs about this particular topic.
export const subscribe = async (collection: string, document: string) => {
const unsubscribe = await client.subscribe(
`databases.${
DBID as any
}.collections.${collection}.documents.${document}`,
(response) => {
console.log('hello', response);
}
);
return unsubscribe;
};
In the payload Im expecting the object.
{ ...myData, messages (the relationship) }
But only get { ...myData }
Thanks in advance!
Recommended threads
- [FEATURE] Better usage analytics for app...
Recently, i've gotten **73** emails from appwrite regarding excesive GBHours usage. I've almost hit the limit of 1000 and it is really hard to track down which ...
- Images not showing up --
so i made this movie app - i hosted it successfully using appwrite but the images arent showing up --- https://movie-app-jsm.appwrite.network/ this is the movie...
- What’s the current approach for always o...
Read that it’s not a thing out of the box, but what’s the possible setup here?
