const EXAMPLE_QUERY = gql`
query Product($ids: [ID!]!) {
nodes(ids: $ids) {
... on Product {
title
}
}
}
`;
So far, I could only find the way to get values of list-type reference by parsing the string values of metafield to the JSON, and using it with the query above.
that’s the only & best shot I could find.
It seems that the 2022-10 update supports list type references.
You can now access a references connection on a metafield. Use this connection to resolve metafield values of a list reference type to their underlying resource. This new connection is paginated and works similarly to the existing reference field, which is used for single references.