[MsGraph] add in missing $count=true flag

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

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
azure, csharp
領域
api

調査の方向性

Start from the MsGraph request construction path and find where query options such as consistency level are assembled for Graph calls. Add $count=true alongside that handling, or implement a retry that sets it when an advanced query fails, and check how both the CLI and PowerShell surfaces pass the option through. Done means Graph requests that need counting include the flag and the existing request/query tests still pass.

索引モデルが issue の本文から書いたものです。

説明

act-identity-squad bug
Affected surface

Both

Describe the bug

Not currently a confirmed bug as I have not been able to replicate the circumstances to get this error.
It may be related to Entra settings / the types of members, groups ect we have in test tenant.

I have twice gotten a similar AI review message on my MsGraph PRs

image

Likely not having this flag will cause errors similar to https://github.com/Azure/azclips/issues/1339 in some advanced query circumstances and there will be no work around.

Steps to reproduce

Not able to repro at this stage

Errors & debug output

Expected behavior

We can add this as flag like consistency level.

Though as this as just a bool its worth considering instead catching the expectation and retrying with it set to true in cases that need it.

From my quick investigation it seems like this is a required for some advanced queries param not really changing any functionality and hiding it in our logic instead of making the user enter it is likely a better user experience.

We should consider also doing this for consistency level IF eventual is the only option (requires more investigation)

Environment

Additional context

No response

主要言語
C#
スター
18
フォーク
10
平均マージ
1日 20時間
マージ済み PR(30日)
157

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

Azure/azclips のほかの issue

Azure/azclips の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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