graphile / graphile/graphile.github.io
PostGraphiQL supports 'Subscriptions'?
- Lingua principale
- SCSS
- Stelle
- 27
- Fork
- 126
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi,
Not sure if I'm doing something wrong, but I'm testing Postgraphile with subscriptions and visualise through PostGraphiQL.
My query
```
subscription {
somethings {
edges {
node {
id
string
}}}}
```
executes correctly and I see correct data response. But when I create/update/delete a row, the changes do not get reflected in the PostGraphiQL response window.
The page says that the websocket connection is on:

Apologies, but I'm having hard time finding information on how to actually consume this subscription through postgraphile -> node(express) -> frontend (ie Axios, fetch etc). What chain of events (stack) would you use to deliver updated field value in database to user's browser html page?
Thanks in advance!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
L’issue non indica alcun file, test o punto di ingresso. Riproduci la subscription in PostGraphiQL e traccia il flusso da PostGraphile a Node/Express e al browser descritto nel report. Il lavoro è completato quando sono documentati il comportamento supportato della subscription e i passaggi per consumarla, incluso se le modifiche al database compaiono nella risposta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- express, graphql, node.js
- Ambito
- api, documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100