Skip to content

Fix unhandled ParameterType case for binary PKs #12062

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 2 commits into from
Jul 10, 2025

Conversation

janedbal
Copy link
Contributor

@janedbal janedbal commented Jul 7, 2025

Re-apply of #12042 (comment)

  Add proper handling for binary primary key parameter types that were
  previously causing runtime exceptions. The existing parameter type
  switch statement was missing a case for binary types, leading to
  unhandled scenarios when working with binary primary keys.

  This ensures consistent parameter type handling across all supported
  primary key data types in the ORM.
greg0ire
greg0ire previously approved these changes Jul 9, 2025
SenseException
SenseException previously approved these changes Jul 9, 2025
Co-authored-by: Grégoire Paris <postmaster@greg0ire.fr>
@janedbal janedbal dismissed stale reviews from SenseException and greg0ire via 6ab858a July 10, 2025 14:54
@greg0ire greg0ire added the Bug label Jul 10, 2025
@greg0ire greg0ire added this to the 3.5.1 milestone Jul 10, 2025
@greg0ire greg0ire merged commit f38ee09 into doctrine:3.5.x Jul 10, 2025
83 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants