Inject where clause in every request

Hi all,

As part of a current piece of work id like every GraphQL query that hits our Apollo server to have a ‘WHERE’ clause injected.
if we had a ‘getMovies’ we could inject ‘WHERE release date > 2010’ to enforce that it returned all movies from 2010.

We have tried looking at the request on the server and seeing if we can use middleware to modify the request, but have been unable to find anywhere.

Any advice would be appreciated.