My app is creating object definition and also adding object entries using graphql. I followed the doc https://shopify.dev/docs/apps/custom-data/ownership#create-a-metaobject-definition-under-a-reserved-type
The type is here “$app:my_objects” which is automatically resolved to “app–123456–my_objects”.
But how can I access object items in theme app extension’s liquid file.
shop.metaobjects.my_objects.values does not work in liquid.
shop.metaobjects[“$app:my_objects”].values also does not work as $app is not resolving like graphql.
Only shop.metaobjects[“app–52855472129–my_objects”].values is working. But I think I can not use hard coded type name in liquid file as it will be generated by shopify when the app will make the graphql request.
Thanks in advance!