gr2m / gr2m/github-project

Ignore "Content already exists in this project" error

オープン
#89 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
JavaScript
スター
36
フォーク
10
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。