Shopify API gem uses deprecated API calls

Galna
Shopify Partner
2 0 0

Hi,

 

I'm using shopify_api gem in my app, currently using version 9.5

I have deprecation notice in my app dashboard saying "`Metafield.valueType` has been removed. See `Metafield.type` for type information"

 

before updating to version 9.5.1 (which requires update to ruby 2.6...) I checked the implementation of Metafield.value and it looks like it has not changed and still uses "value_type" instead of "type"

 

The update requires a lot of efforts so before that I'm trying to figure out if this will solve the deprecation message we get from shopify ? 

If not as I suspect, does anyone knows when a newer version will be released without the deprecated use ?

 

Thanks,

Gal

Reply 1 (1)

awwdam
Shopify Staff
249 42 36

Hey @Galna,

Took a closer look here and wanted send along a suggestion if you haven't already figured this one out. Questions about functionality or use of Shopify Official API libraries are generally best directed to their specific Github repository.

If you don't find an existing issue related to your question or the behaviour you are facing, consider creating a new issue. I also grabbed a link to the shopify_api gem for you!

Hope that offers a good starting point - Cheers!


awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog