laravel / nova-issues

556 stars 34 forks source link

Nova Relatable Query return wrong type #5617

Closed lakridserne closed 1 year ago

lakridserne commented 1 year ago

Description:

When using a relatableQuery, I get a wrong type returned. So I type hinted the relatable query to always return a Builder, however, I got errors that it returned my model.

Detailed steps to reproduce the issue on a fresh Nova installation:

crynobone commented 1 year ago

Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example)