-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] 'non-advanced' FosUser? #2911
Comments
This deprecation has been already fixed: #2815 |
No, that's my point: it's not really fixed, the fields just have been moved. That's why I said
|
What's the problem? There are no new fields, just new methods. It means a breaking change if this methods are getting removed. For more information about this, take a look in the linked PR above. Edit: |
There is no problem if you only look at deprecation/error notices. But it doesn't follow the latest best practices:
I want to use FOSUserBundle, but I don't need those fields. Why should my application and database contain those fields? I think there should be a way of using this bundle without those opinionated fields. See #2686 and #2845. Symfony's AdvancedUserInterface has been deprecated for a good reason. |
I've removed FOSUserBundle completely. |
In the master branch, the fields of
AdvancedUserInterface
have been added to theUserInterface
. This is a workaround to get rid of the deprecation notices, but doesn't follow the latest best practices:https://symfony.com/blog/new-in-symfony-4-1-deprecated-the-advanceduserinterface:
I've never used the methods in
AdvancedUserInterface
and used the User checkers instead. To use this bundle, I've to implement some fields I never use.I think we should get rid of those fields in
FOSUserBundle/Model/UserInterface
and create a (deprecated)FOSUserBundle/Model/AdvancedUserInterface
for backwards compatibility. What do you think?The text was updated successfully, but these errors were encountered: