-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14cf80c
commit 98e04db
Showing
4 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@neo4j/graphql": major | ||
--- | ||
|
||
Remove support for relationship subscriptions: | ||
|
||
- `*RelationshipCreated` | ||
- `*RelatiosnhipDeleted` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
"@neo4j/graphql": major | ||
--- | ||
|
||
Removes support for non-cdc subscriptions. This means the only available engine for subscriptions is `Neo4jGraphQLSubscriptionsCDCEngine`: | ||
|
||
```ts | ||
new Neo4jGraphQL({ | ||
typeDefs, | ||
driver, | ||
features: { | ||
subscriptions: new Neo4jGraphQLSubscriptionsCDCEngine({ | ||
driver, | ||
}), | ||
}, | ||
}); | ||
``` | ||
|
||
The default behaviour of subscriptions has also been updated to use CDC, so now passing `true` will use the CDC engine with the default parameters and driver: | ||
|
||
```ts | ||
new Neo4jGraphQL({ | ||
typeDefs, | ||
driver, | ||
features: { | ||
subscriptions: true, | ||
}, | ||
}); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters