The following is a query I am using with checkout functions. The basic meta fields work, but when it comes to querying Metaobjects using references it does not work. The same query structure does work on the admin API.
I am beginning to wonder if functions only work for a subset of queries.
query Input {
cart {
lines {
quantity
discount: attribute(key: "dis"){
key
value
}
merchandise {
__typename
...on ProductVariant {
id
product {
binding: metafield(namespace: "test_data", key: "binding_mount") {
value
}
length: metafield(namespace: "test_data", key: "snowboard_length") {
value
}
quantity_price_breaks: metafield(namespace: "custom", key: "quantity_price_breaks"){
value
references(first: 3){
edges{
node{
...on Metaobject{
fields{
key
value
}
}
}
}
}
}
}
}
}
}
}
}