Authentication with AshGraphQL for specific queries/mutations
Maybe I'm missing something, but I'm sure what is the correct approach to check and halt a GraphQL query/mutation inside AshGraphQL.
Right now I already have access to my actor, but there is no verification if the actor is really there or if it is
What I thought about doing is just add a policy to check if the actor is
Right now I already have access to my actor, but there is no verification if the actor is really there or if it is
nil.What I thought about doing is just add a policy to check if the actor is
nil or not to the queries/mutations that need to be logged, but I'm not sure if that is the right approach or if there is a better/correct way.