We're seeing some odd behaviors where not all the items are being returned in an AppSync query. There are 31 items in the database table, but the following query only returns 10 items?
query listAllDocuments {
listDocuments {
items{
userId
}
}
}
It's a simple DynamoDB resolver:
{
"version" : "2017-02-28",
"operation" : "Scan",
"filter": #if($ctx.args.filter) $util.transform.toDynamoDBFilterExpression($ctx.args.filter) #else null #end,
}
Other queries (that use the filter) also return some sub-set of the actual matching documents.