Hello,
I have hundreds of fulfillmentOrder ids and I have to query some data as:
{
nodes(ids: [${ids.splice(0, 250).map((id) => `"${id}"`)}]) {
... on FulfillmentOrder {
id,
lineItems(first:150) {
nodes {
id, remainingQuantity, totalQuantity, sku
}
}
fulfillments(first:10) {
nodes {
id
trackingInfo {
number
}
fulfillmentLineItems(first:150) {
nodes{
quantity,
lineItem {
sku
}
}
}
}
}
}
}
}
The problem is that this costs too much of query cost, can’t query more than 1 000 query cost (first of all I don’t understand this limit as I have 10 000 available),
I tried it by a bulk query but it returns errors:
Queries that contain a connection field within a list field are not currently supported
Bulk queries cannot contain more than 5 connections
I also tried it with aliases, it didn’t work neither.
Is there a way to make this query work or do I really have to make multiple query for every ids?
Thanks in advance.