-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
SchemaValidator: Changing mapping of BIGINT to string|int #11399
Conversation
Same way you did in the code.
I think a test testing what happens when using just Also, it seems there are CI jobs failing. Please take a look at this guide for more on how to handle those. |
OK, I also added another test for just What I don't understand: |
This step allows us to test with DBAL 3: orm/.github/workflows/continuous-integration.yml Lines 73 to 75 in 9c56071
thanks to this: orm/.github/workflows/continuous-integration.yml Lines 39 to 41 in 9c56071
If the version detection code is wrong, then the test should fail because it will expect the wrong thing to happen. |
Pleas squash your commits. |
86ac1ba
to
753bc16
Compare
OK, done :-) |
Thanks @ThomasLandauer ! |
Thank you very much for your work on this topic, @ThomasLandauer. However, we've decided to revert your patch in favor of #11414. |
* 3.1.x: Revert "Merge pull request #11399 from ThomasLandauer/issue-11377" (#11415) Fix BIGINT validation (#11414) docs: update PHP version in doc Fix fromMappingArray definition Fix templated phpdoc return type (#11407) [Documentation] Merging "Query Result Formats" with "Hydration Modes" SchemaValidator: Changing mapping of BIGINT to string|int Fix psalm errors: remove override of template type Update dql-doctrine-query-language.rst Adding `NonUniqueResultException` [Documentation] Query Result Formats
* 3.2.x: Revert "Merge pull request #11399 from ThomasLandauer/issue-11377" (#11415) Fix BIGINT validation (#11414) docs: update PHP version in doc Fix fromMappingArray definition Fix templated phpdoc return type (#11407) [Documentation] Merging "Query Result Formats" with "Hydration Modes" SchemaValidator: Changing mapping of BIGINT to string|int Fix psalm errors: remove override of template type Update dql-doctrine-query-language.rst Adding `NonUniqueResultException` [Documentation] Query Result Formats
Closes #11377
Follow-up of #11396
I just copied the
const
, so it can be deleted again easily, once DBAL 3 is no longer supported.