Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Fix JacksonResourceSchemaProvider to work with both the older and newer jackson versions. - #207

Open
gauravkghildiyal wants to merge 2 commits into
cloudendpoints:2.0from
gauravkghildiyal:jackson-update
Open

Fix JacksonResourceSchemaProvider to work with both the older and newer jackson versions.#207
gauravkghildiyal wants to merge 2 commits into
cloudendpoints:2.0from
gauravkghildiyal:jackson-update

Conversation

@gauravkghildiyal

Copy link
Copy Markdown

getGenericType() method has been deprecated and removed in the newer jackson2 version. This fix allows things to work with the newer jackson2 version as well.

@cmaan

cmaan commented Jan 4, 2022

Copy link
Copy Markdown

We hit this today when upgrading jackson, this MR fixed the problem

@peterfortuin

Copy link
Copy Markdown

I have this problem as well. @cmaan can you tell me how you have tested or integrated this pull request change into your project?

@cmaan

cmaan commented May 13, 2022

Copy link
Copy Markdown

@peterfortuin Hey! We've been using jitpack to build a custom version on top of 2.2.2 which integrates this MR (as well as #192, which you can probably ignore) and use that as dependency. See:

ATM, until this is merged, we're depending on these artefacts:

com.github.cmaan.endpoints-java:endpoints-framework:v2.2.2-fix-jackson
com.github.cmaan.endpoints-java:endpoints-framework-guice:v2.2.2-fix-jackson
@william-ferguson-au

Copy link
Copy Markdown

Are there any committers for this project that can merge this PR in and release a new version or are we on our own?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

4 participants