Replies: 2 comments
-
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.
0 replies
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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