Hi! I have the following model:• A
company
with an array of
team
objects (no references, only nested objects) called
companyTeams[]
• Each
company
and
team
has their own unique
slug
I'm trying to write a query where I filter by both
company.slug.current
and
team.slug.current
, but I'm not able to get the
$teamSlug in companyTeams[].slug[].current[]
filter to work. I've tried all combinations (
slug[].current
,
slug.current[]
,
slug[].current[]
), and if I create a new string attribute for the
team
objects called
slugString
, I get the following filter to work as intended:
$teamSlug in companyTeams[].slugString[]
Is it not possible to filter by a sub-sub-attribute, i.e.
slug.current
, with the
in
operator?
See the attached screenshot for my current workaround using `slugString`: