gr2m / gr2m/github-project

Ignore "Content already exists in this project" error

Abierto
#89 0 comentarios 1 reacción 0 asignados Ver en GitHub
bug
Lenguaje dominante
JavaScript
Estrellas
36
Forks
10
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Please avoid duplicates

- [X] I checked [all open bugs](https://github.com/gr2m/github-project/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and none of them matched my problem.

### Reproducible test case

_No response_

### Please select the environment(s) that are relevant to your bug report

- [ ] Browsers
- [ ] Node
- [ ] Deno

### Versions

latest

### What happened?

I haven't tried to reproduce it, but I got this error in a production app:

```
GraphqlResponseError: Request failed due to following response errors:
- Content already exists in this project
```

I assume it occurs when trying to add an issue or pull requse to a project that was already added, but I thought that theGraphQL API is already handling that gracefully. Maybe there is some racing condition?

### Would you be interested in contributing a fix?

- [ ] yes

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.