Open dantas15 opened 2 weeks ago
creating a websocket server for graphql: https://github.com/woovibr/woovi-playground/blob/main/apps/server/src/server/createGraphqlWs.ts
I was looking for the best way to setup graphql and in the woovi-playground I found a nice way to setup, but, I got confused with some topics I found there, one of them (which is one I'm writing down) is the DataLoader inside the getContext()
function on the server.
the answer is no. To keep up the data with the backend must be done with poll or re-send query: https://www.apollographql.com/docs/react/data/subscriptions/
nodeInterface
?