Skip to content

Commit c3bea4b

Browse files
lidiazuinrecrwplaydarrellwardeMacondoExpressmjfwebb
authored
rebase (#77)
* Update docs-pr.yml Add dev branch * Update docs-teardown.yml Add dev branch * Update content-nav.adoc (#37) Fix location of driver configuration page * Tackling user feedback (#35) * Tackling user feedback * card 4800, adding example for arguments in update queries * updating cypher query for fulltext index creation * bumping to test surge * revert * revert * Update modules/ROOT/pages/type-definitions/directives/indexes-and-constraints.adoc Co-authored-by: Darrell Warde <[email protected]> * reverting changes on the api reference page * update * Update modules/ROOT/pages/ogm/reference.adoc Co-authored-by: Darrell Warde <[email protected]> --------- Co-authored-by: Darrell Warde <[email protected]> * Fix scalar description placeholders (#38) * Use aliases-redirects extension (#40) * Fixing typo in code example (#45) * Update to the migrations guide (#43) * Update to the migrations guide * fixing conflicts * Apply suggestions from code review Co-authored-by: MacondoExpress <[email protected]> * changes after review --------- Co-authored-by: MacondoExpress <[email protected]> * Editorial review of Introspector and OGM pages (#36) * Editorial revie of Introspector and OGM pages * Update content-nav.adoc (#37) Fix location of driver configuration page * Editorial review of the latest additions (#34) * Update publish.yml * Editorial review of the most recent changes * reverting changes to partials * fixing note formatting * Add page-aliases for version 4 (#31) (#32) Co-authored-by: Neil Dewhurst <[email protected]> * Editorial review of the most recent changes * fixing note formatting * Add page-aliases for version 4 (#31) (#32) Co-authored-by: Neil Dewhurst <[email protected]> * Editorial review of the most recent changes * fixing note formatting * Add page-aliases for version 4 (#31) (#32) Co-authored-by: Neil Dewhurst <[email protected]> * Editorial review of the most recent changes * Add page-aliases for version 4 (#31) * revert * Apply suggestions from code review Co-authored-by: Michael Webb <[email protected]> --------- Co-authored-by: Neil Dewhurst <[email protected]> Co-authored-by: Michael Webb <[email protected]> * update * update * directives page modification * review of the api reference page * updates after review * removing = from notes, will open another pr to cover all examples in the docs * Apply suggestions from code review Co-authored-by: Darrell Warde <[email protected]> * fixing note format with four = * fixing conflicts * Update modules/ROOT/pages/ogm/reference.adoc Co-authored-by: Darrell Warde <[email protected]> * Tackling user feedback (#35) * Tackling user feedback * card 4800, adding example for arguments in update queries * updating cypher query for fulltext index creation * bumping to test surge * revert * revert * Update modules/ROOT/pages/type-definitions/directives/indexes-and-constraints.adoc Co-authored-by: Darrell Warde <[email protected]> * reverting changes on the api reference page * update * Update modules/ROOT/pages/ogm/reference.adoc Co-authored-by: Darrell Warde <[email protected]> --------- Co-authored-by: Darrell Warde <[email protected]> * fixing tabbed example * changes after revirew * fix list --------- Co-authored-by: Darrell Warde <[email protected]> Co-authored-by: Neil Dewhurst <[email protected]> Co-authored-by: Michael Webb <[email protected]> * Editorial review of the custom resolvers page (#42) * Editorial review of the custom resolvers page * review of the driver configurtion page * Removing redundant link (#51) * Adding link to driver configuration in the getting started page (#50) * Adding link to driver configuration in the getting started page * replacing word * Fixing formatting of list of steps (#54) * Add documentation on CDC Engine for subscriptions * Editorial review of the new CDC content (#57) * Add how to add session and transaction to the execution context (#59) * docs: removes aggregate defaulting to false note (#61) * docs: remove link to nextjs integration (#63) * Update content-nav.adoc Removes the duplicate item "Introspector" from content nav * docs: change the requirement of connectOrCreate to require `@unique` (#66) * docs: change the requirement of connectOrCreate to require `@unique` * Fixing content nav for auth (#69) * docs: add section about passing in JWTs (#71) Co-authored-by: Lidia Zuin <[email protected]> * Add guide for `@relayId` (#73) * Add guide for `@relayId` * Apply suggestions from code review Co-authored-by: Lidia Zuin <[email protected]> --------- Co-authored-by: Lidia Zuin <[email protected]> * Fix typo * Fixing examples and incorrect information (#74) * Fixing examples and incorrect information * Update modules/ROOT/pages/queries-aggregations/filtering.adoc Co-authored-by: angrykoala <[email protected]> --------- Co-authored-by: angrykoala <[email protected]> * Removing repeated mention (#76) --------- Co-authored-by: Neil Dewhurst <[email protected]> Co-authored-by: Darrell Warde <[email protected]> Co-authored-by: MacondoExpress <[email protected]> Co-authored-by: Michael Webb <[email protected]> Co-authored-by: angrykoala <[email protected]> Co-authored-by: Liam-Doodson <[email protected]>
1 parent e0159a3 commit c3bea4b

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

modules/ROOT/pages/subscriptions/events.adoc

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ subscriptions/events/update.adoc
88
This page covers a variety of subscription options offered by the Neo4j GraphQL Library.
99

1010
[NOTE]
11-
===
11+
====
1212
Only changes made through `@neo4j/graphql` should trigger the events here described.
1313
Changes made directly to the database or using the xref::type-definitions/directives/cypher.adoc[`@cypher` directive] will **not** trigger any event.
14-
===
14+
====
1515

1616
== `CREATE`
1717

@@ -132,18 +132,10 @@ subscription {
132132
[[create_relationship]]
133133
== `CREATE_RELATIONSHIP`
134134

135-
Subscriptions to `CREATE_RELATIONSHIP` events listen for newly created relationships to a node of the specified type.
136-
137-
[NOTE]
138-
====
139-
This subscription operation is **only** available for types that define relationship fields.
140-
====
141-
142-
== `CREATE_RELATIONSHIP`
143-
144135
Subscriptions to `CREATE_RELATIONSHIP` events listen to new relationships being created and contain information about the connected nodes.
145136
These events:
146137

138+
* Are only available for types that define relationship fields.
147139
* Contain relationship-specific information, such as the relationship field name and the object containing all relationship field names of the specified type.
148140
* Trigger an equivalent number of events compared to the relationships created, in case a new relationship is created following a mutation and the type targeted is responsible for defining two or more relationships in the schema.
149141
* Contain the relationships object populated with the newly created relationship properties for one single relationship name only (all other relationship names should have a null value).

0 commit comments

Comments
 (0)