You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Signature of \Rebing\GraphQL\Support\Privacy::validate changed, now it accepts both query/mutation arguments and the query/mutation context.
Update your existing privacy policies this way:
-public function validate(array $queryArgs): bool+public function validate(array $queryArgs, $queryContext = null): bool
Added
Ability to pass query/mutation context to the field privacy handler (both closure and class) #727 / torunar