Skip to content

Doctrine DBAL 3.0 and json_array #1293

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No 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? No Sign in to your account

Closed
NovakHonza opened this issue Mar 29, 2023 · 1 comment
Closed

Doctrine DBAL 3.0 and json_array #1293

NovakHonza opened this issue Mar 29, 2023 · 1 comment

Comments

@NovakHonza
Copy link
Contributor

NovakHonza commented Mar 29, 2023

After upgrade Doctrine Dbal to 3.0 I have ended with this message:

Unknown column type "json_array" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType()

The problem is with the definition in Doctrine/mapping/Job.orm.xml in job-queue. I tried replacing the json_array with json and running the tests, but I ended up with errors in precommit hooks that I couldnt fix.

@NovakHonza
Copy link
Contributor Author

I finally managed to modify the docker configuration so that I was able to run the tests separately and the result of the tests was the same as for the original definition with json_array. I.e. the same risky tests and warnings without any errors.

@makasim makasim closed this as completed Apr 3, 2023
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants