Skip to content

Commit 5652241

Browse files
authored
Merge pull request #65 from microsoftgraph/andrueastman/kiota-graph-updates
Enrichment to Graph-Kiota software requirements specifications
2 parents f369cc5 + 1286578 commit 5652241

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

graph-kiota/graph-kiota.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ GraphCoreClient {
3939
GraphServiceClient
4040
```
4141
class GraphServiceClient{
42-
httpCoreInstance : HttpCore // From Kiota
42+
requestAdapterInstance : RequestAdapter // From Kiota
4343
4444
UserRequestBuilder();
4545
MailRequestBuilder();
@@ -62,6 +62,15 @@ This library contains the
6262
- Authentication Providers
6363
- Use the `IAuthenticationProvider` and authentication provider class from the Kiota abstractions.
6464

65+
- BaseRequest/IBaseRequest
66+
- These classes/interfaces would be dropped as they are rendered redundant by the existence of `RequestInformation` from the Kiota core libraries and provide better support for conversion to native http request objects.
67+
- Existing extensions/features/enrichments to the classes/interfaces would be moved to the `RequestInformation` through the graph core library.(e.g. one can use `BaseRequest` instances to create a batch request, now we would use `RequestInformation` instances)
68+
69+
- HttpProvider/IHttpProvider
70+
- These classes/interfaces would be dropped as they are rendered redundant by the existence of `IRequestAdapter` from the Kiota core libraries and provide the necessary functionality to perform http requests
71+
72+
- Response Handler
73+
- Any existing/needed response handlers to now implement the `IResponseHandler` (or equivalent) from kiota core libraries
6574

6675
#### Graph Service library specifications
6776

@@ -75,7 +84,7 @@ This library contains the
7584
- Import middlewares from Kiota core library
7685
- How to add graph specific checks in the middleware. Example: The JS SDK checks if the url is a Graph url or a custom host passed by the user before appending telemetry headers or auth headers. If not, the headers are removed.
7786

78-
- AuthHandler - Kiota core
87+
- AuthHandler - none - This avoids having to configure both the middleware and the provider and the authentication provider implementations are available across any http client
7988
- RetryHandler - Kiota core
8089
- RedirectHandler - Kiota core
8190
- CompressionHandler - Kiota core

0 commit comments

Comments
 (0)