You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 to Illuminate\Contracts\Auth\Authenticatable on ServiceProvider in Import & Export ?
thrownewException('No [App\\Models\\User] model found. Please bind an authenticatable model to the [Illuminate\\Contracts\\Auth\\Authenticatable] interface in a service provider\'s [register()] method.');
thrownewException('No [App\\Models\\User] model found. Please bind an authenticatable model to the [Illuminate\\Contracts\\Auth\\Authenticatable] interface in a service provider\'s [register()] method.');
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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