Given this input query:
query CartDeliveryOptionsTransformRunInput {
cart {
cost {
subtotalAmount {
__typename
amount
currencyCode
}
}
}
}
The type that is generated with shopify app function typegen for subtotalAmount.amount is any. Not sure why this is happening, as the typename is MoneyV2.
1 Like
Hi Nic,
Thanks for picking up on this!
Expected behavior according to our docs is:
subtotalAmount has a type of MoneyV2
subtotalAmount.amount has a type of Decimal
But I see that we’re defaulting to any due to some mapping issue.
Let me see what I can do to get this resolved 
1 Like
Alright, since this is not actively blocking app deployment, we have this down in our issue backlog. At the moment, we aren’t able to provide a timeline for when this will be resolved. However, we will provide an update in this thread once it has.
Thanks again for bringing this to our attention!