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

BaseUser.mongodb.xml boolean field enabled` triggers a deprecation warning #1613

Closed
landure opened this issue Mar 28, 2023 · 1 comment · Fixed by #1615
Closed

BaseUser.mongodb.xml boolean field enabled` triggers a deprecation warning #1613

landure opened this issue Mar 28, 2023 · 1 comment · Fixed by #1615

Comments

@landure
Copy link
Contributor

landure commented Mar 28, 2023

In SonataUserBundle 5.x, when using Doctrine MongoDB ODM, BaseUser.mongodb.xml field enabled use of boolean type triggers a deprecation warning:

 Since doctrine/mongodb-odm 2.1: The "boolean" mapping type is deprecated. Use "bool" instead. 
@VincentLanglet
Copy link
Member

Hi, @landure can you provide a PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants