neo4j-graphql-java
neo4j-graphql-java copied to clipboard
add support for simple subscriptions
i.e. on change of entities via tx handler.
new<Type> : Type! updated<Type> : Type! deleted<Type> : Type!
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
any update on this? any direction to follow to implement subscriptions with neo4j-graphql?
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.