Default Client Options

オープン
#220 コメント 10 件 リアクション 0 件 担当者 1 名 GitHub で見る

@rkodev がすでに取り組んでいます。

2023年8月24日 から。

評価

この issue はまだ評価されていません。

説明

enhancement

I used Kiota to generate a customized Go client library targeting the Graph API and have added the Graph Go core library to my project.

When creating a new GraphRequestAdapter the clientOptions is required, forcing users to creating their own clientOptions what might be a strange scenario since the clientOption is used to inject telemetry data around SDK versioning.

Image

Expected:

We should have a default client option where we set up the core library values as default, so when creating a new adapter, the core version will be sent to out telemetry.

authProvider, _ := auth.NewAzureIdentityAuthenticationProviderWithScopes(credential, scopes)

adapterV1, _ := msgraphcore.NewGraphRequestAdapterBase(authProvider)

client := gosdk.NewGraphBaseServiceClient(adapterV1, store.BackingStoreFactoryInstance)
主要言語
Go
スター
22
フォーク
16
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoftgraph/msgraph-sdk-go-core のほかの issue

microsoftgraph/msgraph-sdk-go-core の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。