Skip to content

[avro] Ignoring built-in annotations #10

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

Closed
cowtowncoder opened this issue May 6, 2016 · 2 comments
Closed

[avro] Ignoring built-in annotations #10

cowtowncoder opened this issue May 6, 2016 · 2 comments

Comments

@cowtowncoder
Copy link
Member

(moved from FasterXML/jackson-dataformat-avro#25)

In using this it seems the mapper is ignoring standard annotations that comes with avro. Fields marked with AvroIgnore are not ignored and it seems everything unions with null making the nullable annotation useless in the schema generation. Those are the two big ones I've witnessed but I'm sure the others do not work either.

@cowtowncoder
Copy link
Member Author

(comment by @jmoney8080)

Here is a test proving that the process is ignoring @AvroIgnore: https://github.com/jmonette/jackson-dataformat-avro/commit/2c35da63f8a66f02bc4411a5e462c40e6dacc4b1

This test is hung off of master.

@cowtowncoder
Copy link
Member Author

Dup of #14, fixed for 2.9.0.

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

1 participant