I wanted to override some models like Permission and Roles so I could use them with hyn/multi-tenant.
Then I discovered that even when I stated Voyager::useModel for the Models in my AppServiceProvider sometimes Voyager didn't use my models (for example in the seeder classes). You can easily verify this by searching usages on a Laravel model and you see that oftentimes the model is directly used instead of being queried with Voyager::model.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Description:
I wanted to override some models like Permission and Roles so I could use them with hyn/multi-tenant. Then I discovered that even when I stated Voyager::useModel for the Models in my AppServiceProvider sometimes Voyager didn't use my models (for example in the seeder classes). You can easily verify this by searching usages on a Laravel model and you see that oftentimes the model is directly used instead of being queried with Voyager::model.
Steps To Reproduce: