microsoftgraph / microsoftgraph/msgraph-sdk-java

Cannot customise the HTTP provider in v6?

Open
#2,307 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:waiting-for-triage type:feature
Dominant language
Java
Stars
444
Forks
154
Avg merge
18h 28m
Merged PRs (30d)
4

Description

Is your feature request related to a problem? Please describe the problem.

The v5 SDK had a builder interface to GraphServiceClient which allowed specifying an IHttpProvider which was used for all HTTP requests; this was great if you were using a customised HTTP interface. However, the builder interface appears to be missing in v6, and instead you have to pass in an OkHttpClient, which cannot be customised in the same way.

Describe the solution you'd like.

Can we have an IHttpProvider interface like in v5, please? (Or else point me at equivalent functionality I haven't found yet!)

Additional context?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the v5 GraphServiceClient builder and IHttpProvider with v6 construction using OkHttpClient. Determine whether v6 exposes equivalent HTTP customization, and consider the request complete when the supported customization path is implemented or clearly identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.