-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for Handler middleware (all languages) #5316
Comments
Hi @esbenbach , I was curious, did you find this page? https://learn.microsoft.com/en-us/openapi/kiota/middleware |
Yes. It talks about adding new middleware.
It mentions nothing about the bundled middleware.
…On Wed, 4 Sept 2024, 16:51 Vincent Biret, ***@***.***> wrote:
Hi @esbenbach <https://github.com/esbenbach> ,
Thank you for using kiota and for reaching out.
I was curious, did you find this page?
https://learn.microsoft.com/en-us/openapi/kiota/middleware
—
Reply to this email directly, view it on GitHub
<#5316 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKQP7SXBQDT64RPL2IM5LLZU4M5LAVCNFSM6AAAAABNTROR7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRZGI3TSNRVGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thank you for the additional information. So, what you'd expect to be added here would be:
Those are currently listed in our design repo but this repo is more reserved for internal design decisions and so our team has a reference when implementing functionality. |
Something like that would be nice, yes.
But lets say the retryhandler is configurable, an example of how to
configure it would probably also be helpful.
…On Thu, 5 Sept 2024, 17:56 Vincent Biret, ***@***.***> wrote:
Thank you for the additional information.
So, what you'd expect to be added here would be:
- a list of the available middleware handler.
- a list of the handlers added by default to any client.
- anything else?
Those are currently listed in our design repo
<https://github.com/microsoftgraph/msgraph-sdk-design/> but this repo is
more reserved for internal design decisions and so our team has a reference
when implementing functionality.
—
Reply to this email directly, view it on GitHub
<#5316 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKQP7RZ2O3P234E4DQECVTZVB5MJAVCNFSM6AAAAABNTROR7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZSGEYDGOBWGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thank you for the additional information. |
No i did not find a totally unrelated page about the MS Graph SDK. While it seems to be generated with Kiota, or at least uses the same principles, it still has a lot of other stuff, like the A similar example using a Kiota generated client would make sense in terms of customizations yes. Refering to the Graph SDK for an example would not (because then again I have to mentally exclude/ignore the parts that are graph sdk specific). |
Thank you for the additional information. Your feedback has helped scope this request a lot! Is this something you'd like to submit a pull request for provided some guidance? |
Is your feature request related to a problem? Please describe the problem.
I am trying to figure out how to customize the behaviour of the RetryHandler and also figuring out if the "TelemetryHandler" does anything at all, aside from providing a random hook into the request message being sent.
While I can browse the code, and "reverse engineer" an understanding, it would be really awesome with documentation describing what the various handlers are for, how they may be used and configured/customized.
As it stands, that seems to be almost impossible
Client library/SDK language
Csharp
Describe the solution you'd like
More documentation on the various existing/out-of-the-box middleware handlers :)
Additional context
No response
The text was updated successfully, but these errors were encountered: