I have made query something like this:
.title()
.sellingPlanGroups(first: 10) { $0
.edges { $0
.node { $0
.sellingPlans(first: 10) { $0
.edges { $0
.node { $0
.id()
.name()
.description()
.priceAdjustments { $0
.adjustmentValue { $0
.onSellingPlanPercentagePriceAdjustment { $0
.adjustmentPercentage()
}
}
}
}
}
}
}
}
}
After making call - If I print the values - it shows me the price adjustment values. But when i try to access it via variable - i can get XXX.priceAdjustments.first!.adjustmentValue -> but after that how to read onSellingPlanPercentagePriceAdjustment or adjustmentPercentage is not available. Tried all the possible ways - but unable to access those values.
I have made query something like this:
After making call - If I print the values - it shows me the price adjustment values. But when i try to access it via variable - i can get XXX.priceAdjustments.first!.adjustmentValue -> but after that how to read onSellingPlanPercentagePriceAdjustment or adjustmentPercentage is not available. Tried all the possible ways - but unable to access those values.