What's the proper way to filter for value within a (custom) attribute list?
Currently I'm trying to do as following...
var queryCommand = new QueryCommand<ProductProjection>();
queryCommand .Where(p => p.Variants.Any(variant => variant.Attributes.Any(attribute =>
attribute.Name == "MyCustomAttribute" &&
attribute.ToSetTextAttribute().Value.ContainsAny("MyCustomValue"))));
...which doesn't work out since API returns BadRequest:
Response: {"statusCode":400,"message":"Malformed parameter: where: The field 'value' does not support this expression.","errors":[{"code":"InvalidInput","message":"Malformed parameter: where: The field 'value' does not support this expression."}]}
Any ideas?
Using version 1.1.3 of commercetools.Sdk.All.