gr2m / gr2m/github-project

Ignore "Content already exists in this project" error

Aperta
#89 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
36
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.