eminiarts / nova-permissions

Laravel Nova Grouped Permissions
126 stars 66 forks source link

Help wanted - N+1 issue when using nova's belongsTo field #33

Open xenonthong opened 4 years ago

xenonthong commented 4 years ago

As the title suggests, the gate is actually being checked multiple times when using fields such as belongsTo in resource's index view.

Is there a workaround for this issue?