Shopify Bundles with Headless approach

Hi there!

I’m testing a Shopify headless app with a frontend built using Astro.js.

I needed bundles in my test shop, so I connected the first-party Shopify Bundles app and created an example bundle.

I’m able to query the bundle through GraphQL just like a simple product, but I still can’t figure out how to query the individual products within that bundle.

For example, let’s say I have a bundle “X” that contains products “Z,” “Y,” and “V.” I can query the bundle “X” using a basic getProduct query, but I’m not sure if it’s possible to directly query the individual products “Z,” “Y,” and “V” within that bundle—or how to do it if it is.

Thanks in advance for your help!