Skip to content
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

WIP: Reintroduce FOSUserBundle #656

Closed
wants to merge 1 commit into from

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Apr 11, 2019

Q A
License MIT

Initially added in #270 and reverted in #655

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

@maxhelias
Copy link
Contributor

maxhelias commented Apr 11, 2019

Depends on FriendsOfSymfony/FOSUserBundle#2708

Initially added in symfony#270 and reverted in symfony#655
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

@Nyholm
Copy link
Member Author

Nyholm commented Apr 11, 2019

We are waiting for FriendsOfSymfony/FOSUserBundle#2708

@@ -0,0 +1,10 @@
fos_user:
db_driver: no_driver # valid values are 'orm', 'mongodb' and 'couchdb'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not yet supported.

@juanmiguelbesada
Copy link

I think we have a problem here.

One side, we don't want to pre-config the db_driver to orm.

But at the other side, we are includin a User entity that uses ORM annotations, that requires doctrine/orm.

I think we have two options right now.

One, set default db_driver to orm, and configure a the recipe according.

The other, create a new meta-package, fosuserbundle-orm, that requires fosuserbundle and doctrine-bundle, and create a new recipe for this new meta-package that can be configured to use orm as db_driver.

What do you think?

@Nyholm Nyholm closed this Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants