No type for API responses that return a list of values

Aberta
#235 5 comentários 5 reações 1 responsável Ver no GitHub

@nikithauc já está trabalhando nisso.

Desde 1/3/2021.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

question

I've found that when querying endpoints such as https://graph.microsoft.com/v1.0/groups I cannot find any types that match up with the response structure shown below:

interface valuesResponseExample<T> {
    @odata.context: string,
    @odata.nextLink?: string,
    value: T[]
}

Is this the intended behavior, and if so what is the suggested method for working around this?
AB#8341

Linguagem predominante
PowerShell
Estrelas
129
Forks
35
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de microsoftgraph/msgraph-typescript-typings

Todas as issues de microsoftgraph/msgraph-typescript-typings

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.