Skip to content

Conversation

@peterholak
Copy link
Contributor

graphql-java has some support for executing subscriptions - the "query" you would run when you want to notify your subscribed clients of some event.

This PR just adds subscription as another supported operation.

The subscribing/unsubscribing, transport, etc. are not handled here, those are perhaps concerns for another library.

The test currently just uses the context to pass data about the event that occurred to the resolver, but maybe there's a better (and more type-safe) way to do this.

@apottere
Copy link
Collaborator

This is great, thanks!

@apottere apottere merged commit 3c18883 into graphql-java-kickstart:master Jun 16, 2017
@devinsba
Copy link

It might be good to add something to the readme about this change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants