Installation does not model situations where multiple Incoming Webhooks are created in a single workspace/organization
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
Línea de trabajo
Comienza siguiendo el objeto Installation, InstallationStore y el punto de entrada fetchInstallation() a través de sus implementaciones. Compara cómo se almacenan y recuperan varias instalaciones en un workspace y, a continuación, determina una interfaz coherente que preserve cada Incoming Webhook; se considerará terminado cuando el diseño elegido esté especificado y sus implementaciones afectadas se hayan actualizado sin perder datos de los webhooks.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
Currently the Installation object contains a single incomingWebhook property, as an object with several properties. That works when an OAuth flow completes and the installation needs to be stored since a single installation can generate at most one Incoming Webhook. However, when another installation in the same workspace or organization occurs, it will create a new Incoming Webhook. This might also be fine if you're happy with the InstallationStore storing a new record for this installation, even though most of the data in it is duplicative. However when fetching that installation, the InstallationStore returns a single Installation object, which can only contain one Incoming Webhook. That means one of the two Incoming Webhooks is not reachable.
One possible solution is to update the interface for Installation so that the incomingWebhook property becomes incomingWebhooks, which contains an array of the created webhooks instead of just one. However we'd have to figure out how InstallationStores are meant to merge the individual installations into one. This might require a redesign of that interface, and updated implementations.
Another solution is to update the return value of fetchInstallation() to be an array of Installation objects. This would be simpler to implement, but would encourage storing duplicative data .
There may be other good solutions available. Let's brainstorm and discuss.
Requirements (place an x in each of the [ ])
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.4k
- Forks
- 693
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 67
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de slackapi/node-slack-sdk
-
Support assistant.search.* APIsAbiertoauto-triage-skip enhancement pkg:web-api
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
slackapi/node-slack-sdk#2607 · 2 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
`SlackListsItem FieldMessage.message` type does not match API response shapePosiblemente ocupada @AjTheSpidey la tomó hace 202 días. Abiertoarea:typescript auto-triage-skip bug pkg:web-api
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
slackapi/node-slack-sdk#2598 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Missing TypeScript response type for files.uploadV2Posiblemente ocupada @Yshuro la tomó hace 6 días. Abiertoarea:typescript auto-triage-skip bug pkg:web-api
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
slackapi/node-slack-sdk#2459 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Docs/types: document `broadcast_delete` on chat.delete (undo reply_broadcast)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoarea:typescript enhancement pkg:web-api semver:patch
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
slackapi/node-slack-sdk#2815 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
auto-triage-stale
Dificultad 3/5 1-2 días Aptitud para principiantes 75/100
slackapi/node-slack-sdk#2791 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de slackapi/node-slack-sdk
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
agilepathway/label-checker#1015 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
bug P3
Dificultad 1/5 Menos de una hora Aptitud para principiantes 89/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
react-component/image#541 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día