We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ShopifyAPI::Variant#weight
The ShopifyAPI::Variant defines weight as Integer.
ShopifyAPI::Variant
weight
Integer
https://github.com/Shopify/shopify_api/blob/1d76f06f623812ff06c57e1523da275f3e889583/lib/shopify_api/rest/resources/2022_01/variant.rb#L39
But, in the API reference specified weight as Float.
Float
The type of ShopifyAPI::Variant#weight should be Float?
The type of ShopifyAPI::Variant#weight is Integer. Is this correct?
shopify_api
2022-01
The text was updated successfully, but these errors were encountered:
Great catch, I'm pretty sure it should indeed be a Float. We'll look into it!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Issue summary
The
ShopifyAPI::Variant
definesweight
asInteger
.https://github.com/Shopify/shopify_api/blob/1d76f06f623812ff06c57e1523da275f3e889583/lib/shopify_api/rest/resources/2022_01/variant.rb#L39
But, in the API reference specified
weight
asFloat
.Expected behavior
The type of
ShopifyAPI::Variant#weight
should beFloat
?Actual behavior
The type of
ShopifyAPI::Variant#weight
isInteger
.Is this correct?
Specifications
shopify_api
version: 10.0.22022-01
The text was updated successfully, but these errors were encountered: