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
- How to expose traefik configurations to ...
I want to use the already existing traefik service in the compose group as a reverse proxy over top of appwrite. Is there any way i can modify the existing conf...
- SMTP does not work
I have an own Instance of appwrite. SMTP wont work ENV ``` _APP_SMTP_HOST=5.180.252.100 _APP_SMTP_PORT=465 _APP_SMTP_SECURE= _APP_SMTP_USERNAME=noreply@schuele...
- Entrypoint function
Hi I am wokring on deployment of project what details we need to fill in entrypoint. https://github.com/reactjsdevelopment/appwrite-demo