graphprotocol / graphprotocol/graph-node
improving response for `index-node` subgraph features API
Abierto
@incrypto32 ya está trabajando en esto.
Desde el 22/1/2024.
area/graphql
Stale
- Lenguaje dominante
- Rust
- Estrellas
- 3.2k
- Forks
- 1.1k
- Merge medio
- 4 d 1 h
- PR fusionados (30 d)
- 1
Descripción
I think it is built in assumption that if you give an ID of subgraph you will get result back. But in the case where we cannot find that ID it just throws.
So we can either consider making index-node API that field be non-null or we have union of responses where we can define the error message of NotFound https://blog.logrocket.com/handling-graphql-errors-like-a-champ-with-unions-and-interfaces/
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.
Evaluación
Este issue todavía no se ha evaluado.