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

fix(java): Update to use JsonMapper #166

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

booniepepper
Copy link
Contributor

Description

Currently when building the Java SDK there is a warning that pops up due to using the deprecated ObjectMapper.configure(..., ...) methods.

> Task :compileJava
Note: /module/src/main/java/dev/openfga/api/invoker/JSON.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

References

https://github.com/FasterXML/jackson-databind/blob/2.16/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java#L2507-L2517

Review Checklist

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

@booniepepper booniepepper requested a review from a team as a code owner August 3, 2023 20:53
@adriantam adriantam merged commit a2e8225 into feat/java-sdk Aug 4, 2023
6 checks passed
@adriantam adriantam deleted the fix/java-use-jsonmapper branch August 4, 2023 21:53
booniepepper added a commit that referenced this pull request Aug 25, 2023
booniepepper added a commit that referenced this pull request Aug 25, 2023
booniepepper added a commit that referenced this pull request Sep 6, 2023
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.

2 participants