Skip to content

Conversation

mlafeldt
Copy link
Collaborator

Fixes regression introduced in v2.3.1 where driver.Valuer implementations were ignored during parameter binding, causing "unsupported data type" errors for custom types like UUID arrays.

The issue was caused by commit f8383ae which replaced the direct type switching logic with reflection-based binding but failed to check for the driver.Valuer interface.

Fixes #512

Fixes regression introduced in v2.3.1 where `driver.Valuer`
implementations were ignored during parameter binding, causing
"unsupported data type" errors for custom types like UUID arrays.

The issue was caused by commit f8383ae which replaced the direct type
switching logic with reflection-based binding but failed to check for
the `driver.Valuer` interface.

Fixes #512
@mlafeldt mlafeldt requested a review from taniabogatsch August 27, 2025 08:47
@mlafeldt mlafeldt self-assigned this Aug 27, 2025
@taniabogatsch taniabogatsch added the fix Fixes a bug label Aug 27, 2025
@taniabogatsch taniabogatsch merged commit 38e9800 into marcboeker:main Aug 27, 2025
32 checks passed
@taniabogatsch
Copy link
Collaborator

Great, thanks!

@mlafeldt mlafeldt deleted the fix-512 branch August 27, 2025 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

regression: use of driver.Valuer on UUID [] column

2 participants