The following query returns an empty array of items:
query Notifications {
notifications(request: { where: { notificationTypes: [MENTIONED] } }) {
items {
... on MirrorNotification {
id
}
}
}
}
However, if the notificationTypes array includes any other type, it does return the mention notifications.
As a workaround, I duplicated the MENTIONED filter, which fixes the query:
query Notifications {
notifications(request: { where: { notificationTypes: [MENTIONED, MENTIONED] } }) {
items {
... on MirrorNotification {
id
}
}
}
}
I can reproduce the issue on Mainnet V2. I'm using profile ID #108433.