It looks like it is not possible to use the validation on the query arguments just like it it possible to define validation rules for mutations.