bold-commerce / go-shopify

Go client for the Shopify API
MIT License
330 stars 256 forks source link

Should metafieldType expose the type (MetafieldType)? ? Convenient for external calls #264

Closed shuqingzai closed 9 months ago

shuqingzai commented 9 months ago

In the front-end API, we pass metafieldType as string and convert it to a legal MetafieldType in the back-end program. However, because the type is not exportable, it cannot be converted when creating Metafield and the type cannot be matched.

pkg: github.com/bold-commerce/go-shopify/v3 v3.17.0

221 #217