Allow registering multiple handlers for a notification
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
El issue no menciona archivos ni tests. Empieza localizando los puntos de entrada del registro y el dispatch de notificaciones; después, sigue cómo se almacena y se invoca un único handler. La tarea estará terminada cuando puedan coexistir varios handlers para las notificaciones, los handlers de usuario sean opcionales y el manejo de requests no cambie; añade cobertura para ambos casos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
At the moment we only allow one handler per method. This is partly because it's unclear how we could respond to a request if we have multiple handlers (HLS has stuff to allow that, but it's complicated and I don't think we want it in here). But it's perfectly fine to have multiple handlers for a notification.
This would simplify part of our processing system. At the moment we intercept certain notifications in order to update our state before then calling the registered handler. But if we could have multiple handlers, then we could just install our own handler to update our state, and have it coexist with any user-provided handlers.
This would also simplify the situation if the user doesn't want to respond to those notifications. At the moment, they need to install a (possibly-empty) handler, otherwise they get errors about there being no handler!
- Lenguaje dominante
- Haskell
- Estrellas
- 426
- Forks
- 107
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 haskell/lsp
-
Unused build depdency on regexAbierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 64/100
-
Optimize `instance Eq NormalizedFilepath`?!Posiblemente ocupada @sjakobi la tomó hace 382 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
Improve snippet sanitizationAbiertoZuriHac
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Todos los issues de haskell/lsp
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
haskell/bytestring#730 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
seal-harness/seal-harness#399 ·
Los mantenedores suelen responder en 1 día
-
add previously overlooked rulesAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
fmidue/codeworld-tasks#124 ·
-
allow haskell-src-exts-1.24Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
reflex-frp/reflex#563 ·