Closed shuqingzai closed 8 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.
metafieldType
string
MetafieldType
Metafield
pkg: github.com/bold-commerce/go-shopify/v3 v3.17.0
github.com/bold-commerce/go-shopify/v3 v3.17.0
In the front-end API, we pass
metafieldType
asstring
and convert it to a legalMetafieldType
in the back-end program. However, because the type is not exportable, it cannot be converted when creatingMetafield
and the type cannot be matched.pkg:
github.com/bold-commerce/go-shopify/v3 v3.17.0
221 #217