Open firatkucuk opened 1 year ago
When will this be published?
I am also looking for a stitching library that supports subscriptions, has any new progress been made on this front?
Sorry people, This took so much time than I anticipated. I am still working on it. Please subscribe to the issue for further notifications.
Good news, MVP is completed. I am working on polishing and some stability issues. I am expecting it will be released really soon.
Good news, MVP is completed. I am working on polishing and some stability issues. I am expecting it will be released really soon.
Looking forward to this release, any updates on when you expect it may happen?
@Survival1sm I have no excuses :see_no_evil: I was procrastinating. I have more time nowadays. I will work on it. PR is almost complete, I was working on a better API design and stability. It seems the configuration will be a little bit complex maybe I need to create a spring library for that one. Also, I want to hear from your tech stack. So I can come up with better solutions.
@firatkucuk We are on spring cloud gateway with a mixture of rest/websocket and graphql/subscription microservices. Consul is used as our service discovery mechanism. I plan to replace graphql-orchestrator in favor of lilo in my project (https://github.com/Survival1sm/spring-cloud-gateway-graphql-lace), which leverages consul to automatically configure and expose the stitched endpoint for registered graphql services.
Hello people, A long-awaited subscription feature has been added. 319 files changed. Subscription configuration is a little bit complex because of the framework-agnostic nature of Lilo. That's why I have created a new library lilo-spring
to make it easy to use. If you want to use it on Quarkus or other web frameworks, we need to create libraries for them. Eventually, we will create but for now, the main focus is Spring.
Please try to use it. I won't close this issue until all questions related to this issue have been resolved.
Could you explain the purpose of the websocketwrapper class? Can we not pass the native session directly?
@rollinglaughter, WebSocketSessionWrapper
class is basically a WebSocket Session but Lilo should be framework agnostic. That's why we need an adapter class or a wrapper for framework-specific sessions. If you're using spring I strongly suggest you use the new lilo-spring
library. If you are using another framework I can work on an example of your framework.
I am closing this issue since we haven't got any negative feedback so far. Feel free to open it again.
Supporting end to end graphql subscription.