0
I want to add an annotation to my controller methods that is used to check if the user can perform an action or access a piece of data before the controller method is called.
I want to be able to check each individual query/mutation, rather than each http request which may come with multiple queries or mutations.
I assume Spring’s GraphQL framework has a way of intercepting graphql queries/mutations before (and probably after) the corresponding controller method is run, but I don’t know what to call it and thus haven’t been able to find documentation or a tutorial on it.
|