The PR fixes a case of "persistent" directive usage, when it is ran several times for different requests. This might happen in test or Laravel Octane environments. We can't get Request in the constructor in these cases. But must get it inside resolver from GraphQLContext
Changes
The PR fixes a case of "persistent" directive usage, when it is ran several times for different requests. This might happen in test or
Laravel Octane
environments. We can't getRequest
in the constructor in these cases. But must get it inside resolver fromGraphQLContext