You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting up the default subscriptions for Neo4jGraphQL, now the production-ready CDC engine is used (`Neo4jGraphQLSubscriptionsCDCEngine`) instead of the previous default engine:
43
+
44
+
[source, javascript]
45
+
----
46
+
new Neo4jGraphQL({
47
+
typeDefs,
48
+
driver,
49
+
features: {
50
+
subscriptions: true
51
+
},
52
+
});
53
+
----
54
+
55
+
This means the default subscriptions now require CDC enabled in your database.
56
+
57
+
==== Removed relationship subscriptions
58
+
59
+
The subscriptions operations `*RelationshipCreated` and `*RelationshipDeleted` are no longer supported.
60
+
61
+
For example:
62
+
63
+
[source, graphql, indent=0]
64
+
----
65
+
subscription MovieRelationshipDeleted {
66
+
movieRelationshipCreated {
67
+
movie {
68
+
title
69
+
}
70
+
createdRelationship {
71
+
actors {
72
+
node {
73
+
name
74
+
}
75
+
}
76
+
}
77
+
}
78
+
}
79
+
----
80
+
31
81
=== Removed the deprecated implicit "some" filter from `@relationship`
32
82
33
83
The deprecated implicit "some" filter without operator suffix has been removed from `@relationship` in favor of the explicit `_SOME` filter.
0 commit comments