You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say I have a jobs and organizations collections, where jobs has a relationship field organization to organizations. Both of the collections are enabled in the cached local API config for revalidation and are revalidating successfully upon change.
However, when I update an organization, the nested field title of organization doesn't update, i.e. jobs.docs[0].organization.title.
But on the frontend, the cached response still shows organization.title as "Organization 1".
I thought, okay, I actually should also revalidate the job itself, which I did, and nothing changed.
Enabling useSimpleCacheStrategy: true, in the config fixed this, but as I understand this calls revalidation after any change in the database, and I don't think that'll be very performant when there'll be thousands of documents.
Maybe I'm missing something, or maybe that's a bug. Appreciate any help, thanks!
The text was updated successfully, but these errors were encountered:
Hi,
Say I have a jobs and organizations collections, where jobs has a relationship field organization to organizations. Both of the collections are enabled in the cached local API config for revalidation and are revalidating successfully upon change.
However, when I update an organization, the nested field title of organization doesn't update, i.e. jobs.docs[0].organization.title.
Initial API shows this:
After changing:
But on the frontend, the cached response still shows organization.title as "Organization 1".
I thought, okay, I actually should also revalidate the job itself, which I did, and nothing changed.
Enabling
useSimpleCacheStrategy: true,
in the config fixed this, but as I understand this calls revalidation after any change in the database, and I don't think that'll be very performant when there'll be thousands of documents.Maybe I'm missing something, or maybe that's a bug. Appreciate any help, thanks!
The text was updated successfully, but these errors were encountered: