-
-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Unable to find source when using extended Country model.
To reproduce
namespace App\Models;
use Squire\Models\Country as SquireCountry;
class Country extends SquireCountry
{
public function users()
{
return $this->hasMany(User::class);
}
}
Call
App\Models\Country::all();
Expected behavior
Expected to show all countries
Context
- Squire version: 2.0.6
- Laravel version: 8.33.1
- Server OS: osx - laravel valet
- PHP version: 8.0
Additional details
Add any other details about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working