microsoftgraph / microsoftgraph/msgraph-sdk-java-core
Add support for OSGI bundles
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 67
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
There are classes used from Gson internal API
com.google.gson.internal.Streams is used in com/microsoft/graph/serializer/ODataTypeParametrizedIJsonBackedTypedAdapter.java
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory is used in com/microsoft/graph/serializer/FallbackTypeAdapterFactory.java
This is also the reason why this library cannot be used in the OSGI environment as starting from Gson 2.6, the com.google.gson.internal packages are no longer exported in the OSGi bundles.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting com/microsoft/graph/serializer/ODataTypeParametrizedIJsonBackedTypedAdapter.java and FallbackTypeAdapterFactory.java, focusing on their use of Gson internal APIs. Check the Gson OSGi export constraints and existing serializer tests or build configuration. Done means the SDK no longer depends on unavailable internal packages and can be used in an OSGi environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100