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

Replace notion-sdk-jvm with custom Spring Rest Client #37

Open
scordio opened this issue Jan 21, 2024 · 0 comments
Open

Replace notion-sdk-jvm with custom Spring Rest Client #37

scordio opened this issue Jan 21, 2024 · 0 comments

Comments

@scordio
Copy link
Owner

scordio commented Jan 21, 2024

Currently, Notion SDK JVM is used as an underlying dependency to use the Notion API.

Although it gives the benefit of accessing the API from Java without additional effort, it has a few downsides:

  • Brings Gson and Kotlin transitively
  • Currently blocks the introduction of a module descriptor (Add module descriptor #14)
  • Could slow down the adoption of new API types released by Notion

An alternative could be to adopt one of the Rest Client options that Spring provides.

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