Skip to content

Conversation

@vpapp
Copy link
Contributor

@vpapp vpapp commented Mar 26, 2025

Goal of this PR

Add the ability to register type conversion functions when using any in Go with the underlying Go type not compatible with the corresponding field's Avro type.

Fixes #509

How did I test it?

Added unit tests that demonstrate various scenarios.

@vpapp vpapp force-pushed the generic-codec-type-conversion-interface branch from d3bfcf0 to d18e799 Compare April 1, 2025 21:13
@vpapp vpapp force-pushed the generic-codec-type-conversion-interface branch from d18e799 to 59040fc Compare April 1, 2025 21:19
@vpapp vpapp requested a review from nrwiersma April 4, 2025 17:45
@nrwiersma nrwiersma merged commit ec3a954 into hamba:main Apr 5, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Add support for type conversion functions before encoding

2 participants