How to add typename field to query before execution

Hey

What I’m trying to do is to tag graphql responses based on their __typename and instances returned. So let’s say we have a query like this:

query {
    getUsers(limit: 2) {
        id
        username
    }
}

Assuming this query is going to return a User, The desired tags looks something like User:1, User:2
How can I add __typename to every query using a Apollo server plugin?