Skip to content
New issue

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

Fixes issue 931, weight of variant should be float #935

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

mkevinosullivan
Copy link
Contributor

@mkevinosullivan mkevinosullivan commented Apr 20, 2022

Description

Fixes #931

Example in Shopify/shopify had an integer (100) for weight thus wrapper generation inferred Integer. Changed the example to 100.0 to correct it in the generated wrappers.

How has this been tested?

Tests re-run, and changed file inspected for correct change.

Checklist:

  • My commit message follow the pattern described in here
  • I have performed a self-review of my own code.
  • I have added a changelog line.

@mkevinosullivan mkevinosullivan requested a review from a team as a code owner April 20, 2022 15:28
Example in Shopify/shopify had an integer (100) for weigth thus wrapper
generation inferred Integer.  Changed the example to 100.0 to correct it
in the generated wrappers.
@mkevinosullivan mkevinosullivan force-pushed the kos/make_weight_of_variant_float branch from e330929 to a456891 Compare April 20, 2022 16:00
@mkevinosullivan mkevinosullivan merged commit d42dadf into main Apr 20, 2022
@mkevinosullivan mkevinosullivan deleted the kos/make_weight_of_variant_float branch April 20, 2022 21:21
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems April 26, 2022 17:03 Inactive
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems July 4, 2022 16:27 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is the type of ShopifyAPI::Variant#weight Integer?
2 participants