Shopify / unity-buy-sdk

The Unity Buy SDK allows Unity developers to query and sell products from Shopify directly in Unity.
https://help.shopify.com/api/sdks/custom-storefront/unity-buy-sdk
MIT License
67 stars 23 forks source link

Deprecation warnings #577

Closed kevinfoley closed 4 years ago

kevinfoley commented 5 years ago

The Buy SDK internally refers to deprecated fields and then logs deprecation warnings about this:

The field `ProductVariant.price` is deprecated with the following deprecation message:
Use `priceV2` instead

The field `Checkout.subtotalPrice` is deprecated with the following deprecation message:
Use `subtotalPriceV2` instead

The field `Checkout.totalTax` is deprecated with the following deprecation message:
Use `totalTaxV2` instead

The field `Checkout.totalPrice` is deprecated with the following deprecation message:
Use `totalPriceV2` instead

The field `CheckoutCreatePayload.userErrors` is deprecated with the following deprecation message:
Use `checkoutUserErrors` instead

Presumably, the SDK's internal code should not refer to deprecated fields.

rebeccajfriedman commented 4 years ago

I believe this should be fixed, as of https://github.com/Shopify/unity-buy-sdk/pull/580