Is there a way to filter by a list of values? Like the query below but if the metafield was a list.single_field_text and you wanted to filter multiple options like you can via the collection page filtering.
The only option I can think of is to for loop through all the values I want and make a call for each one but I’d rather make 1 call instead if possible.
query {
collectionByHandle(handle: "ColHandle") {
products(first: 10, filters: {
productMetafield:{
namespace:"custom",
key:"stuff",
value:"Bunch of Stuff"
}
}) {
nodes {
title
variants(first: 5) {
nodes {
id
}
}
}
}
}
}