Hi, is it possible to pass an authenticated user's...
# prisma-whats-new
b
Hi, is it possible to pass an authenticated user's ID to a subquery, where the id isn't passed to the parent query? For example:
Copy code
{
  user {
    id
    name
    _chatMessagesMeta(filter: { readBy_none: { id:  [** this authenticated user’s ID **] }} ) {
      count
    }
  }
}
user
is an authenticated query, but need to pass that user's id to the
_chatMessagesMeta
subquery. Thanks in advance!