Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscriptions? #2

Open
tomasAlabes opened this issue Nov 20, 2018 · 3 comments
Open

Subscriptions? #2

tomasAlabes opened this issue Nov 20, 2018 · 3 comments

Comments

@tomasAlabes
Copy link

Hi, first of all thank you for putting out your work! I was starting to use it when I noticed that subscriptions is not in the picture. Did you solve it or is not part of this?
Thanks!

@yonigibbs
Copy link
Owner

Hi @tomasAlabes. Firstly, you're welcome! Thanks for looking at the code. I hope it's of use to you.

Regarding subscriptions: no, this isn't something we've looked at yet, but definitely something we plan to look at a bit later on. I know there is an example using WebSockets from the graphql-java team. If this is something that you'll implement somewhere, we'd definitely be interested in seeing it and hopefully being able to make use of it. Keep us posted!

FYI this repo here is basically an example that we used as a technical de-risking exercise. At some point in future we're hoping to return to it and do more with it, e.g. maybe create a reusable framework from it. (Currently it's a single project with no separation between the generic framework and some specific implementation, in this case using entities like Customer, Order, etc.).

@tomasAlabes
Copy link
Author

Hi @yonigibbs, thanks for answering. I took a look at the graphql-java example and at graphql-java-servlet implementation but I wasn't able to make it work, as I need to have it working with Apollo too (graphql-servlet has the apollo impl) and I don't have the time for a reactive rewrite. So I had to go back to using graphql-java-servlet 😞

Sadly there's no project out there trying it (that I could find), not even with SSE or something else. Apollo has some other interesting approaches too.

Maybe I'll revisit this if I have more time in the future. I can help you testing it too if you need a ✋.

Cheers

@yonigibbs
Copy link
Owner

Fantastic. Thanks for the offer. If/when we do something on this I'll let you know. Good luck finding something else in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants