neo4j-graphql-java icon indicating copy to clipboard operation
neo4j-graphql-java copied to clipboard

add support for simple subscriptions

Open jexp opened this issue 7 years ago • 3 comments

i.e. on change of entities via tx handler.

new<Type> : Type! updated<Type> : Type! deleted<Type> : Type!

jexp avatar Aug 02 '17 23:08 jexp

Subscriptions will be added using domain events.

something like this:

subscription {
    profile: [Profile] @event(["Person","Profile"])
}

mutation {
   addPerson(…) @event("Person")
}

Auto-generated mutations will get an event based on the type they were generated for.

There will be a directive to add domain event names to mutations. We will also support a Label.property type of event based on neo4j's tx event handlers.

Have to experiment with graphql-java's websocket example for subscriptions. https://github.com/graphql-java/graphql-java-subscription-example

jexp avatar May 04 '18 01:05 jexp

any update on this? any direction to follow to implement subscriptions with neo4j-graphql?

yodaheis avatar Mar 24 '19 17:03 yodaheis

Any update on this? I am building a realtime application with graphql and would like to use neo4js if subscriptions or live queries are on the horizon.

impavidum avatar Jun 06 '19 08:06 impavidum