Skip to content
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

Set avro.java.String property in magnolify-avro schema derivation? #688

Closed
clairemcginty opened this issue Feb 7, 2023 · 1 comment
Closed

Comments

@clairemcginty
Copy link
Contributor

Default decoding for GenericRecord string fields is Avro's Utf8 class; We can force it to java.lang.string by setting the field-level property "avro.java.string": "String".

Should we update to make the default, or add an implicit option to set it (similar to CaseMapper)?

@RustedBones
Copy link
Contributor

Fixed by #730

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants