You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graph-kiota/graph-kiota.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ GraphCoreClient {
39
39
GraphServiceClient
40
40
```
41
41
class GraphServiceClient{
42
-
httpCoreInstance : HttpCore // From Kiota
42
+
requestAdapterInstance : RequestAdapter // From Kiota
43
43
44
44
UserRequestBuilder();
45
45
MailRequestBuilder();
@@ -62,6 +62,15 @@ This library contains the
62
62
- Authentication Providers
63
63
- Use the `IAuthenticationProvider` and authentication provider class from the Kiota abstractions.
64
64
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
65
74
66
75
#### Graph Service library specifications
67
76
@@ -75,7 +84,7 @@ This library contains the
75
84
- Import middlewares from Kiota core library
76
85
- 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.
77
86
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
0 commit comments