tomatophp / filament-users

Manage your users with a highly customizable user resource for FilamentPHP with integration of filament-shield and filament-impersonate
https://tomatophp.com/en/open-source/filament-users
MIT License
47 stars 19 forks source link

Stubs have not been updated to latest version #13

Closed StarrrLiteNL closed 1 month ago

StarrrLiteNL commented 1 month ago

I ran into a problem when trying to extend the user profiles with additional custom fields and I published the user resources using php artisan filament-users:publish I could not save the user profile due to the error 'filament Property [password] does not exist on this collection instance'.

It was working fine when I set "publish_resource" to false.

I compared the /src/UserResource.php with the /stub/UserResource.php and noticed several differences. After migrating these differences to the published files , saving a user works fine again.

It seems that the stubs are using an older version and are not compatible with the actual main package version.

3x1io commented 1 month ago

thanks for your report we will update it, thanks.