Incorrect type for "Identity" in "IdentitySet"

Abierto
#116 12 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
api

Línea de trabajo

Start in microsoft-graph.d.ts at the Identity declaration around line 8736, then compare it with the createdBy.user type on DriveItem and the API shape described in the issue. Check whether the beta declarations differ. Done means the declarations represent the returned identity fields and the relevant type usage is covered.

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

Descripción

ADO to GitHub automation label service issue status:waiting-for-author-feedback

The type Identity seems to be different from what the API is returning. This error occured for us when retrieving the identity of the creator of the document using the createdBy.user field on a DriveItem.

Expected (declared in microsoft-graph.d.ts line 8736)

{
  id?: string;
  displayName?: string;
}

Returned by API

{
  email: "some.email@domain",
  displayName: "Some Name"
}

We tried to switch to the beta types but they are the same.

We are for now casting the createdBy.user property to what the API is returning.
AB#7046

Lenguaje dominante
PowerShell
Estrellas
129
Forks
35
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

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 microsoftgraph/msgraph-typescript-typings

Todos los issues de microsoftgraph/msgraph-typescript-typings

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.