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

Remove usage of jackson type reference where it is not needed #5465

Merged

Conversation

vietj
Copy link
Member

@vietj vietj commented Jan 29, 2025

Remove usage of Jackson TypeReference.

Motivation:

Jackson's TypeReference is only supported by the DatabindCodec. A few methods declaring TypeReference are still available on JacksonCodec and JsonEvent, such methods should be removed because the lead to incomplete usage of JacksonCodec and will simply not work at all with potential other implementations of the JSON spi.

Changes:

Remove methods declaring TypeReference and update tests accordingly.

@vietj vietj force-pushed the remove-usage-of-jackson-type-reference-where-it-is-not-needed branch from d6bc789 to 12f7be4 Compare January 29, 2025 15:41
@vietj vietj added this to the 5.0.0 milestone Jan 29, 2025
@vietj vietj self-assigned this Jan 29, 2025
@vietj vietj force-pushed the remove-usage-of-jackson-type-reference-where-it-is-not-needed branch from 12f7be4 to f110635 Compare January 29, 2025 16:48
Motivation:

Jackson's TypeReference is only supported by the DatabindCodec. A few methods declaring TypeReference are still available on JacksonCodec and JsonEvent, such methods should be removed because the lead to incomplete usage of JacksonCodec and will simply not work at all with potential other implementations of the JSON spi.

Changes:

Remove methods declaring TypeReference and update tests accordingly.
@vietj vietj force-pushed the remove-usage-of-jackson-type-reference-where-it-is-not-needed branch from f110635 to 340492e Compare January 29, 2025 17:06
@vietj vietj merged commit a92e76f into master Jan 29, 2025
8 checks passed
@vietj vietj deleted the remove-usage-of-jackson-type-reference-where-it-is-not-needed branch January 29, 2025 18:21
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

Successfully merging this pull request may close these issues.

1 participant