Converting circular structure to JSON
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 22/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- nodejs, typescript
- Domínio
- api
Direção de pesquisa
The report names accountingApi.getAccounts as the call that returns the circular response. Start by reproducing it with the current SDK and logging the returned object's keys to find which property refers back to a parent. Done means JSON.stringify on that response succeeds, or the circular reference is removed from what the SDK returns. The thread has been silent for about 940 days with no assignee, so confirm with a maintainer before starting.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
SDK you're using (please complete the following information):
- Version [e.g. 5.1.0]
Describe the bug
With the latest update of the xero-node package, we've started to encounter a "Converting circular structure to JSON" error when we try to convert the response from an API request into a string using JSON.stringify.
To Reproduce
Steps to reproduce the behavior:
- Invoke this.xeroClient.accountingApi.getAccounts from the xero-node package
- JSON.stringify the response and log it.
- See error
Expected behavior
The response should be stringified.
- Linguagem predominante
- TypeScript
- Estrelas
- 264
- Forks
- 177
- Merge médio
- 10h 5min
- PRs com merge (30d)
- 5
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de XeroAPI/xero-node
-
`getClientCredentialsToken()` sends `scopes` (comma-joined) instead of the OAuth `scope` parameterAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
Dificuldade 3/5 Meio dia Facilidade para iniciantes 55/100
-
TrackingOptionId value missing from accountingApi.getInvoices()Talvez já em andamento @miachillgood assumiu há 152 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 18/100
-
BankTransaction type is missing the batchPayment object.Talvez já em andamento @miachillgood assumiu há 171 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 22/100
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 25/100
Todas as issues de XeroAPI/xero-node
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
super-productivity/super-productivity#12128 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
A docs change can fail pnpm check, because outreach lint and gen:types both write .astro/ at onceTalvez já em andamento @2389400626lh-ops assumiu hoje. AbertaArea: Infrastructure Area: Outreach Bug Difficulty: Low Good First Issue Priority: Low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
DouglasNeuroInformatics/OpenDataCapture#1956 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 72/100
justyns/silverbullet-ai#199 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
spartan-ng/spartan#1931 ·
Mantenedores costumam responder em até 2 dias