We can treat it as section-based if notgroupsection is triggered, and combined object if the result is not grouped.
Something like this would be useful:
{
query: {
notifications:
list: [ ... ],
seenTime: {
alert: "2016-07-20T02:47:11Z",
message: "2016-07-20T02:49:37Z"
}
}
}or if grouped,
{
query: {
notifications: {
alert: {
list: [ ... ],
seenTime: "2016-07-20T02:47:11Z"
},
message: {
list: [ ... ],
seenTime: "2016-07-20T02:49:37Z"
}
}
}
}Although in the current code, we're not really using notgroupbysection, but it would be good to support that behavior anyways.