Hi,
I was wondering, is there a way to put @cacheControl(maxAge: 60) on the Query type?
I know we can put it on individual fields but I don’t see an option to do it on the type Query.
The reasoning was to cache every root query without having to go through each one and put @cacheControl on it.
Thanks.
UPDATE
I found a solution, instead I used the defaultMaxAge plugin and it solved my issue.