nileio / node-red-contrib-graphql-server

GraphQL and Subscription server implementation for Node-RED
MIT License
10 stars 1 forks source link

consider moving GraphQL Subscription Server node to its own package #11

Open nileio opened 3 years ago

nileio commented 3 years ago

GraphQL Subscription Server node does not depend on GraphQL query and mutation server (that is GraphQL In / out nodes). In fact it can run independently. The only shared node is the graphql-schema node which is the configuration node used for both.

Also the code line is not related at all. The subscription server depends on persistent connection, whereas, GraphQL In is just an http server.

I think there will be lots of value of separating those into their own packages so they can have their own enhancements. However, some code is still shared so need to find a way to separate that.