Absinthe Middleware for checking arguments

Hello there, I’ve been wondering if Absinthe Middlewares can check the arguments of a query in order to do some validations with the context (checking if some input values of the query are the same that were added to the context). Is it possible to access to the arguments from a Middleware before actually resolving?

Guys, I found out that the resolution struct contains a key named :arguments. Thanks if you actually checked the post!

3 Likes