Channel layoutType property is missing in the SDK
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 64/100
Línea de trabajo
Comienza con el modelo graph.models.Channel y compáralo con el Microsoft Graph channels endpoint mostrado en el issue. Añade compatibilidad para leer y aplicar parches a layoutType, incluidos los dos valores permitidos, y verifica después que el SDK exponga la propiedad sin usar additionalData.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
The property layoutType is missing for the graph.models.Channel-Object. Without it reading the actual value of a channel is hard. Patching the property can be done with some workarounds using additionalData (see below).
The object:
A graph request:
https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}
Expected behavior
The property should be present in the graph.models.Channel-Object. Also an enum for the two allowed values would be nice.
How to reproduce
Simply use some sdk version and try to read or patch the layoutType of a channel.
SDK Version
6.63
Latest version known to work for scenario above?
none I guess
Known Workarounds
For a patch you can use one of:
.getAdditionalData().put("layoutType", "post");
.getAdditionalData().put("layoutType", "chat");
I don't know if there is a workaround for reading.
Debug output
No response
Configuration
This should not impact the issue, since it is not present in the models of the java-SDK.
Other information
No response
- Lenguaje dominante
- Java
- Estrellas
- 444
- Forks
- 154
- Merge medio
- 18 h 28 min
- PR fusionados (30 d)
- 4
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoftgraph/msgraph-sdk-java
-
status:waiting-for-triage type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
microsoftgraph/msgraph-sdk-java#2610 ·
-
status:waiting-for-triage type:bug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
microsoftgraph/msgraph-sdk-java#2656 ·
-
status:waiting-for-triage type:bug
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
microsoftgraph/msgraph-sdk-java#2654 ·
-
status:waiting-for-triage
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
microsoftgraph/msgraph-sdk-java#2639 ·
-
Error in PATCH onlineMeeting Abiertostatus:waiting-for-triage type:bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
microsoftgraph/msgraph-sdk-java#2589 · 1 comentario ·