A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi,
With reference to this article
https://world.optimizely.com/documentation/Items/Developers-Guide/EPiServer-Find/11/DotNET-Client-API/Searching/Filtering/Complex-objects/
It looks like for property of type IEnumerable, MatchContained can not be applied more than once but if the business logic needs to build a query like that then how to achieve , any leads?
for e.g.
Product
{
List<Market> market {get;set;}
}
Market
{
string country {get;set}
string available {get;set}
}
Since both the conditions are important, how to apply it?
(p => p.market.MatchContained(x => x.country , user.country) && (p => p.market.MatchContained(x => x.available, "Yes");
Thanks