Skip to content

Conversation

@ashley-taylor
Copy link
Contributor

What is the purpose of the change

Fixes a bug where, if the custom encoder is specified at the top of the class, it did not drive the schema used.
This updates a test to ensure the schema used is not the same as what would be used by reflection, highlighting this issue.

Verifying this change

This change added tests and can be verified as follows:
extends test to make sure this case is covered.

Documentation

  • Does this pull request introduce a new feature? no

@github-actions github-actions bot added the Java Pull Requests for Java binding label Jul 21, 2025
@ashley-taylor
Copy link
Contributor Author

@opwvhk had an oversight hidden by having the identical schema to its generated class.

@opwvhk opwvhk merged commit 3fbea11 into apache:main Aug 4, 2025
9 checks passed
opwvhk pushed a commit to opwvhk/avro that referenced this pull request Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java Pull Requests for Java binding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants