We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I already searched for solutions, and tried things like this: #52 #68
However, this still results in:
The reason being is that I'm using this differently:
public function getFavoriteAttribute(?User $user = null): bool { return $this->isFavoritedBy( $user ?? auth()->user() ); } public function getFollowingAttribute(?User $user = null): bool { return $this->isFollowedBy( $user ?? auth()->user() ); }
Could you please point me in the correct direction? I would like to reduce the number of queries.
Many thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I already searched for solutions, and tried things like this:
#52
#68
However, this still results in:
The reason being is that I'm using this differently:
Could you please point me in the correct direction? I would like to reduce the number of queries.
Many thanks!
The text was updated successfully, but these errors were encountered: