Whenever I run a query for orders with a ‘warehouse_id’ filter it seems to be dropping data and not giving me the full resultset.
eg. Here’s my query, which should return hundreds of orders:
query {
orders(
warehouse_id: “V2FyZWhvdXNlOjEyMjQ5”
order_date_from: “2020-04-01”) {
complexity
data{
pageInfo{
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
order_date
}
}
}
}
}
The results show no pagination available and strange collection of elements:
{
“data”: {
“orders”: {
“complexity”: 101,
“data”: {
“pageInfo”: {
“hasNextPage”: false,
“hasPreviousPage”: false,
“startCursor”: “YXJyYXljb25uZWN0aW9uOjA=”,
“endCursor”: “YXJyYXljb25uZWN0aW9uOjM5”
},
“edges”: [
{
“node”: {
“order_date”: “2020-04-07T14:13:16+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-08T17:32:38+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-14T14:42:46+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-17T20:04:34+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-21T17:28:11+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-21T21:07:55+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-21T21:14:23+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-23T16:49:05+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T00:23:34+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T00:36:54+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T01:37:56+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T04:07:21+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T05:53:03+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T09:58:52+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T10:01:53+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T10:33:21+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T11:17:07+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T11:17:34+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T11:17:47+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T11:19:11+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T11:21:59+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T11:36:39+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T11:37:03+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T11:38:59+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T11:45:31+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T11:58:49+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T12:40:38+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T13:03:50+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T13:29:45+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T14:48:41+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T14:52:52+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T14:53:01+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T14:58:46+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T14:59:21+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T15:06:40+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T15:09:25+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T15:10:19+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T15:17:36+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T15:27:35+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-01T15:32:29+00:00”
}
}
]
}
}
}
}
Now if I change my date to 2020-04-02 you’ll see some of the data that was missing from above response:
{
“data”: {
“orders”: {
“complexity”: 101,
“data”: {
“pageInfo”: {
“hasNextPage”: false,
“hasPreviousPage”: false,
“startCursor”: “YXJyYXljb25uZWN0aW9uOjA=”,
“endCursor”: “YXJyYXljb25uZWN0aW9uOjM4”
},
“edges”: [
{
“node”: {
“order_date”: “2020-04-07T14:13:16+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-08T17:32:38+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-14T14:42:46+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-17T20:04:34+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-21T17:28:11+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-21T21:07:55+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-21T21:14:23+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-23T16:49:05+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T00:10:17+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T00:16:01+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T00:41:22+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T01:05:34+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T01:16:17+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T01:21:25+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T01:36:01+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T02:21:35+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T03:59:15+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T04:37:00+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T04:53:07+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T05:16:29+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T05:33:38+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T06:16:37+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T10:11:07+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T10:11:25+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T10:11:44+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T10:13:21+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T10:13:56+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T10:15:15+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T10:16:55+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T10:19:35+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T12:17:35+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T12:52:23+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T12:57:04+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T13:16:01+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T13:17:47+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T13:21:40+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T13:22:42+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T13:52:40+00:00”
}
},
{
“node”: {
“order_date”: “2020-04-02T13:57:40+00:00”
}
}
]
}
}
}
}