nozzlegear / ShopifySharp

ShopifySharp is a .NET library that helps developers easily authenticate with and manage Shopify stores.
https://nozzlegear.com/shopify-development-handbook
MIT License
747 stars 309 forks source link

Remove incorrect `IMetafieldService.ListAsync(MetafieldFilter filter = null)` method #1036

Open nozzlegear opened 7 months ago

nozzlegear commented 7 months ago

This method is incorrect, all metafield list endpoints require specifying the owner product id/resource type. This method's existence leads to confusion where the developer might think it's possible to list all metafields on the store without a filter.

IMetaFieldService.ListAsync(MetaFieldFilter filter = null, CancellationToken cancellationToken = default)