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

gson-extras GraphAdapterBuilder depends on internal Gson classes #2042

Open
Marcono1234 opened this issue Dec 29, 2021 · 0 comments
Open

gson-extras GraphAdapterBuilder depends on internal Gson classes #2042

Marcono1234 opened this issue Dec 29, 2021 · 0 comments
Labels

Comments

@Marcono1234
Copy link
Collaborator

Gson version

Latest (currently 9793828)

Description

gson-extras class GraphAdapterBuilder depends on internal Gson classes:

import com.google.gson.internal.ConstructorConstructor;
import com.google.gson.internal.ObjectConstructor;

Maybe this could be solved by exposing Gson functionality for creating new instances, see for example #1968.
If that is not possible, another solution would be to add a module-info.java to gson-extras and to change gson's module-info.java to export the internal packages exclusively to the gson-extras module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant