microsoftgraph / microsoftgraph/msgraph-sdk-dotnet-core
Default Client Options
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 164
- Forks
- 65
- Avg merge
- 38m
- Merged PRs (30d)
- 1
Description
I used Kiota to generate a customized .NET client library targeting the Graph API and have added the Graph .NET core library to my project.
When creating a new BaseGraphRequestAdapter users can pass their own clientOptions what might be a strange scenario since the clientOption is used to inject telemetry data around SDK versioning.
We should have a default client option where in an absence of a user using service library version, we set up the core library values as default, so when creating a new adapter, the core version will be sent to out telemetry.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at BaseGraphRequestAdapter and trace how clientOptions are supplied and how telemetry SDK-version values are read. Define the default behavior for an adapter created without user-provided options, ensuring the core library version is emitted while preserving custom options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100