Hello, I'm trying to get all documents of a type, filtered by 2 levels deep nested relationship fields.
I have a "photo" document that has the "entities" content relationship field which connects to the "car" document. The "car" document has the "manufacturer" content realtionship field that connects to the "car_manufacturer" document.
I need to get the "photo" documents that has cars with only specific manufacturer, is this possible?
I have tried the following, but i get error "unexpected field":
const photos = await client.getByType("photo", {
filters: [
filter.at(
"my.photo.entities.entity.manufacturer.car_manufacturer",
page.id
),
],
});
Thanks in advance