Replies: 4 comments 2 replies
-
I also do not understand why binding is needed and not to take the value from the config, I have not seen such use in other libraries |
Beta Was this translation helpful? Give feedback.
-
I found it strange to bind to Authenticatable. I believe a configuration setting would be a better approach, and even better if it defaults to pulling Authenticatable Model from authGuard() config and also custom config if different from default authGuard(). Also consider issue with |
Beta Was this translation helpful? Give feedback.
-
encounter error on this too, because i use custom SUser.php instead of using default User.php |
Beta Was this translation helpful? Give feedback.
-
same here, My jobs are breaking because I use Admin model as Filament default guard. And it's all set well in fillement config file but it still uses User model for auth |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Today I was confused when using the database on
QUEUE_CONNECTION
Import & Export Job always failed, after I investigated because\App\Models\User
was not found.FYI: I'm using
\App\Domains\User\Models\User
Should we use AUTH_MODEL instead of forcing bind
User
model toIlluminate\Contracts\Auth\Authenticatable
onServiceProvider
in Import & Export ?Or add this in the Documentation?
see :
filament/packages/actions/src/Exports/Models/Export.php
Lines 52 to 56 in 68e4a11
filament/packages/actions/src/Imports/Models/Import.php
Lines 58 to 62 in 68e4a11
Beta Was this translation helpful? Give feedback.
All reactions