I am new to hot chocolate and I have a filtering use case which I am unable to figure out.
I have this function in my product repository returning product data.
public IQueryable<Product> GetProducts()
{
return _context.Products.Where(e=>e.indx == null);
}
If a user filters on field brand in the product class I want to change the query so it does not select Where(e=>e.indx==null)
. I need to do this when user does it on field brand or product type or both.