microsoft / microsoft/kiota

I should be able to create a baseClient providing only a requestAdapter

Open
#3,913 5 comments 1 reaction 1 assignee View on GitHub

@sebastienlevert is already working on this.

Since Dec 14, 2023.

enhancement generator
Dominant language
C#
Stars
3.8k
Forks
333
Avg merge
16h 29m
Merged PRs (30d)
116

Description

When creating a new client, I need to do the following:

```java
//Create a request adapter to use when instantiating the Graph client
BaseRequestAdapter requestAdapter = new BaseRequestAdapter(authProvider);

BaseServiceClient client = new BaseServiceClient(requestAdapter, new InMemoryBackingStoreFactory());
```

Kiota should provide a second constructor where I can pass only a requestAdapter and Kiota will create a default backing store for me.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.