You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ShopifyListFilterOptions class has broken (or been broken). When trying to count or list orders that are filtered to specific ids, ShopifyOrderService will send out a URL that looks like this:
This bug was also affecting ShopifyProductService.ListAsync and ShopifyProductService.CountAsync. Fixed it by creating and overriding a Parameterizable.ToSingleParameter method for both ShopifyOrderFilterOptions and ShopifyProductFilterOptions that specifically looks for the Ids property and converts it to a querystring value when parameterizing.
I was hoping to instead use the property's Type.IsArray and leave .ToParameters generic without overrides, but Type.IsArray wouldn't reliably work on IEnumerable<T> — only on actual [] arrays.
The
ShopifyListFilterOptions
class has broken (or been broken). When trying to count or list orders that are filtered to specific ids,ShopifyOrderService
will send out a URL that looks like this:There are two problems here:
Ids
parameter should beids
.The text was updated successfully, but these errors were encountered: