-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
https://neo4j.com/docs/graphql/current/ogm/subscriptions/
There is no longer a Neo4jGraphQLSubscriptionsSingleInstancePlugin()
and the OGM constructor does not take a plugins
property any longer. It has been replaced with a built-in subscription feature which is toggled using the features.subscriptions
flag
Old:
const ogm = new OGM({
typeDefs,
driver,
plugins: {
subscriptions: subscriptionsPlugin
},
});
New:
const ogm = new OGM({
typeDefs,
driver,
features: {
subscriptions: true
},
});
Metadata
Metadata
Assignees
Labels
No labels