Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[PropertyInfo] Update DoctrineExtractor for new DBAL 4 BIGINT type #54694

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

Merged
merged 1 commit into from
May 17, 2024
Merged

[PropertyInfo] Update DoctrineExtractor for new DBAL 4 BIGINT type #54694

merged 1 commit into from
May 17, 2024

Conversation

llupa
Copy link
Contributor

@llupa llupa commented Apr 22, 2024

Q A
Branch? 5.4
Bug fix? yes
New feature? not sure
Deprecations? no
Issues Fix #54418
License MIT

Additional Considerations

This issue looks pretty straight forward, but it has had me running in circles not being sure how to exactly interpret it. The new return type to make it work with DBAL 4 is fine, but it is neither an intersection nor a union type, which will cause trouble for other libs if they do not explicitly check each.

There is not easy way to get which DBAL version is the extractor is running against, so trying to optimize the flow is tricky. I am opening this PR to have a starting point in the hopes that maintainers of this package have more historical context than me.

I have tried to document as much as possible about this in the issue linked above. 🍻

@carsonbot

This comment was marked as outdated.

@llupa llupa marked this pull request as ready for review April 22, 2024 11:19
@llupa llupa requested a review from dunglas as a code owner April 22, 2024 11:19
@carsonbot carsonbot added this to the 5.4 milestone Apr 22, 2024
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

Thanks for the PR.
Did you check if this applies to branch 5.4 maybe?

@fabpot
Copy link
Member

fabpot commented May 17, 2024

Thank you @llupa.

@fabpot fabpot merged commit 69d10fe into symfony:5.4 May 17, 2024
8 of 12 checks passed
@fabpot fabpot mentioned this pull request May 17, 2024
This was referenced Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants