Converting circular structure to JSON
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- nodejs, typescript
- Área
- api
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 264
- Forks
- 177
- Merge medio
- 10 h 5 min
- PR fusionados (30 d)
- 5
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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 XeroAPI/xero-node
-
`getClientCredentialsToken()` sends `scopes` (comma-joined) instead of the OAuth `scope` parameterAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
Dificultad 3/5 Medio día Aptitud para principiantes 55/100
-
TrackingOptionId value missing from accountingApi.getInvoices()Posiblemente ocupada @miachillgood la tomó hace 152 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 18/100
-
BankTransaction type is missing the batchPayment object.Posiblemente ocupada @miachillgood la tomó hace 171 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 22/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
Todos los issues de XeroAPI/xero-node
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
super-productivity/super-productivity#12128 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
A docs change can fail pnpm check, because outreach lint and gen:types both write .astro/ at oncePosiblemente ocupada @2389400626lh-ops la tomó hoy. AbiertoArea: Infrastructure Area: Outreach Bug Difficulty: Low Good First Issue Priority: Low
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
DouglasNeuroInformatics/OpenDataCapture#1956 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
justyns/silverbullet-ai#199 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
spartan-ng/spartan#1931 ·
Los mantenedores suelen responder en 2 días