Php versions – Error with authenticated user using guard and can to access to some model
I'm using lighthouse-php to make a graphql api and I'm having a trouble changing middleware (it will be deprecated in new versions) directive to guard. extend type Query @middleware(checks: ["auth:api"]) { task(id: ID @eq): Task @can(ability: "view" find:"id") @find mytasks:…