Simplify error message when field cannot be found on update
- 主要言語
- 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
- [X] Browsers
- [X] Node
- [X] Deno
### Versions
1.3.1
### What happened?
When I try to update a custom field "Type" I get the follow error message
> [github-project] "type" could not be matched with any of the existing field names: "Title", "Assignees", "Status", "Labels", "Linked Pull Requests", "Reviewers", "Repository", "Milestone", "Target Date", "NotType"
I think we should remove all the read-only fields, which would make this message much more readable
> [github-project] "type" could not be matched with any of the existing field names: "Title", "Status", "Target Date", "NotType"
### Would you be interested in contributing a fix?
- [ ] yes
コントリビューションガイド
調査の方向性
ファイル、テスト、エントリポイントは指定されていません。カスタムフィールド名に一致し、エラーメッセージを構築する更新パスを特定し、その後、読み取り専用フィールドがどのように表現されているかを調べます。これらのフィールドが除外され、メッセージに「Title」、「Status」、「Target Date」、「NotType」などの編集可能なフィールドのみが列挙されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github, javascript
- 領域
- api
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100