Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
57aecca
Update docs-pr.yml
recrwplay Sep 19, 2023
f2fdec5
Update docs-teardown.yml
recrwplay Sep 19, 2023
6ffa5c7
Update content-nav.adoc (#37)
darrellwarde Sep 21, 2023
41e8a1c
Tackling user feedback (#35)
lidiazuin Sep 25, 2023
b026e20
Fix scalar description placeholders (#38)
darrellwarde Sep 26, 2023
0987f5e
Use aliases-redirects extension (#40)
recrwplay Sep 26, 2023
57b00e9
Fixing typo in code example (#45)
lidiazuin Oct 3, 2023
166b72c
Update to the migrations guide (#43)
lidiazuin Oct 5, 2023
3ca645f
Editorial review of Introspector and OGM pages (#36)
lidiazuin Oct 6, 2023
16553a7
Editorial review of the custom resolvers page (#42)
lidiazuin Oct 10, 2023
16e8d9f
Removing redundant link (#51)
lidiazuin Oct 11, 2023
9119f91
Adding link to driver configuration in the getting started page (#50)
lidiazuin Oct 17, 2023
3f8a2a9
Fixing formatting of list of steps (#54)
lidiazuin Oct 19, 2023
4c70a89
Add documentation on CDC Engine for subscriptions
angrykoala Oct 27, 2023
adc982f
Merge pull request #56 from neo4j/cdc-engine
angrykoala Nov 1, 2023
36d6b1f
Editorial review of the new CDC content (#57)
lidiazuin Nov 6, 2023
2a2f188
Add how to add session and transaction to the execution context (#59)
mjfwebb Nov 13, 2023
96e328a
docs: removes aggregate defaulting to false note (#61)
mjfwebb Nov 13, 2023
31f082d
docs: remove link to nextjs integration (#63)
mjfwebb Nov 17, 2023
6ba8c50
Update content-nav.adoc
angrykoala Nov 21, 2023
4b6a700
Merge pull request #65 from neo4j/remove-duplicate-context-nav-item
angrykoala Nov 21, 2023
625879c
docs: change the requirement of connectOrCreate to require `@unique` …
mjfwebb Nov 21, 2023
2462d23
Fixing content nav for auth (#69)
lidiazuin Nov 24, 2023
c882212
docs: add section about passing in JWTs (#71)
mjfwebb Nov 27, 2023
a6f87c1
Add guide for `@relayId` (#73)
darrellwarde Nov 29, 2023
7a2cfe8
Fix typo
Liam-Doodson Nov 30, 2023
b6a40eb
Fixing examples and incorrect information (#74)
lidiazuin Dec 6, 2023
1b58453
Merge branch '4.x' into dev
lidiazuin Dec 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ name: "Verify PR"
on:
pull_request:
branches:
- "4.x"
- "main"
- "dev"

jobs:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs-teardown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ name: "Documentation Teardown"
on:
pull_request_target:
branches:
- "4.x"
- "main"
- "dev"
types:
- closed

Expand Down
7 changes: 4 additions & 3 deletions modules/ROOT/pages/queries-aggregations/filtering.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ When querying for data, a number of operators are available for different types

== Equality operators

All types can be tested for either equality (`_eq`) or non-equality (`_ne`).
All types can be tested for either equality.
For non-equality, you *must* use the xref:/queries-aggregations/filtering.adoc#_combining_operators[`NOT`] logical operator.
For example:

.Filtering all Users named John
[source, graphql, indent=0]
----
query {
users(where: {name: { _eq: "John" }})
users(where: {name: "John" })
id
name
}
Expand All @@ -40,7 +41,7 @@ Here is an example of how to use them:
[source, graphql, indent=0]
----
query {
users(where: {age: { _lt: 50 }}) {
users(where: {age_LT: 50 }) {
id
name
age
Expand Down
25 changes: 0 additions & 25 deletions modules/ROOT/pages/subscriptions/events.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,6 @@ type Movie {
}
----

Note, however, that only changes made through `@neo4j/graphql` should trigger events.
Changes made directly to the database or using the xref::type-definitions/directives/cypher.adoc[`@cypher` directive] will **not** trigger any event.

== `CREATE`

Subscriptions to `CREATE` events listen *only* to newly created nodes, not new relationships.
In this occasion, a new event is triggered for each new node, containing its properties.

This action is performed with the top-level subscription `[type]Created`, which contains the following fields:

* `event`: the event triggering this subscription (in this case, `CREATE`).
* `created<typename>`: top-level properties of the newly created node, without relationships.
* `timestamp`: the timestamp in which the mutation was made.
If a same query triggers multiple events, they should have the same timestamp.

As an example, consider the following type definitions:

[source,graphql,indent=0]
----
type Movie {
title: String
genre: String
}
----

A subscription to any newly created node of the `Movie` type should look like this:

[source,graphql,indent=0]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This page describes how to use default values in the Neo4j GraphQL Library.
[[type-definitions-default-values-default]]
== `@default`

When generating the input type for the `create`` mutation, the value specified in this directive is used as the default value for this field.
When generating the input type for the `create` mutation, the value specified in this directive is used as the default value for this field.

=== Definition

Expand Down