We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c24580 commit c6e95b8Copy full SHA for c6e95b8
packages/gatsby-source-shopify/src/type-builders/location-type.ts
@@ -102,6 +102,8 @@ export function locationTypeBuilder(prefix: string): string {
102
103
extend type ${prefix}ProductVariant {
104
inventoryItem: ${prefix}InventoryItem!
105
+ weight: Float @proxy(from: "inventoryItem.measurement.weight.value") @deprecated(reason: "Use InventoryItem.measurement.weight.value directly instead")
106
+ weightUnit: ${prefix}WeightUnit! @proxy(from: "inventoryItem.measurement.weight.unit") @deprecated(reason: "Use InventoryItem.measurement.weight.unit directly instead")
107
}
108
`
109
0 commit comments