ekvedaras / laravel-query-intellij

💿 Laravel Query Builder integration for PhpStorm
MIT License
47 stars 3 forks source link

custom table name #108

Open amrdesign opened 1 year ago

amrdesign commented 1 year ago

Hello it's not auto-complete when I use the custom table name

class Members extends Model
{
    use HasFactory;
    protected $table = "members_list";
}

Untitled-1

thanks

ekvedaras commented 1 year ago

Hi. I'm having a hard time reproducing it. The test we have for this just works 🤷‍♂️ But I've seen this in the wild myself. I've started working on a rewrite that should simplify things so hopefully it should be solved then, but don't expect it anytime soon as I have very limited time to work on it.

If you or someone would manage to make a PR with a failing test for this I could take a look.

Otherwise let's hope I manage to spot this bug and reproduce at some point 🙂