Hi, thank you for your message.
I’m using of Shopify CLI (3.48.4) and I had no errors in running typegen or deploy the extension. I have made index.js that only displays input values in standard error that we can see in Shopify Partners page.
...
(input) => {
console.error(JSON.stringify(input));
...
}
When I used $app in input.graphql, I got standard error like this.
{
"paymentCustomization": {
"metafield": null
}
}
When I used actual value (SHOPIFY_API_KEY), I got the followings that I set.
{
"paymentCustomization": {
"metafield": {
"value": "{\"methods\":[{\"name\":\"Cash on Delivery (COD)\",\"label\":\"\",\"active\":true,\"rules\":[]}]}"
}
}
}
I have no idea how I should set $app value.
Thank you.