i have two directives, @authenticated and @permission.
@authenticated checks if the user is logged in or throws an error.
@permission accepts a “role” arg to check if the user has the permission to do something or throws an error.
i added the two to a mutation and it shows the error from @permission. i expected @authenticated to catch that and stop before even going to @permission.
how do directives work?