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 Johan,
That's not possible. However, it seems that you could get the same result by modifying what you filter with, ie: .Filter(x => x.price.GreaterThan(y+input2);
Thanks Joel! Examples were highly simplified. I just wanted to know if I'd missed someting when testing stuff out.
I'm analyzing building a "advanced search" panel where a user can add two integer input values to filter the search.
I will be able to put most calculations stuff I need as properties on the objects but I also wonder (to know what options I have) if it's possible do something like this (or similiar) when querying:
.Filter(x => (x.operatingCost + (12 * input1)).GreaterThan(x));
.Filter(x => (x.price - input2).GreaterThan(y);