[MsGraph] add in missing $count=true flag

Abierto
#1,392 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
azure, csharp
Área
api

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
C#
Estrellas
18
Forks
10
Merge medio
1 d 20 h
PR fusionados (30 d)
157

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Azure/azclips

Todos los issues de Azure/azclips

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.