gr2m / gr2m/github-project

Simplify error message when field cannot be found on update

Đang mở
#31 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug Pull Request welcome
Ngôn ngữ chính
JavaScript
Star
36
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Không có tệp, bài kiểm thử hoặc điểm vào nào được nêu tên. Hãy xác định đường dẫn cập nhật khớp với tên trường tùy chỉnh và xây dựng thông báo lỗi, sau đó kiểm tra cách các trường chỉ đọc được biểu diễn; hoàn tất khi các trường đó bị loại trừ và thông báo chỉ liệt kê các trường có thể chỉnh sửa như "Title", "Status", "Target Date" và "NotType".

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github, javascript
Lĩnh vực
api
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
42/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.