gr2m / gr2m/github-project

Simplify error message when field cannot be found on update

Abierto
#31 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug Pull Request welcome
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

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

No se nombra ningún archivo, prueba ni punto de entrada. Localiza la ruta de actualización que coincide con los nombres de campos personalizados y construye el mensaje de error; después, inspecciona cómo se representan los campos de solo lectura; se considera terminado cuando esos campos quedan excluidos y el mensaje solo enumera campos editables como "Title", "Status", "Target Date" y "NotType".

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
github, javascript
Área
api
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.