Skip to content

Commit f1bf35a

Browse files
add some refinements, fix filtering table
1 parent 27008f4 commit f1bf35a

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

modules/ROOT/pages/filtering.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,9 +507,10 @@ They provide autogenerated filters available for each type on the `node` and `ed
507507
[cols="1,2,2,2"]
508508
|===
509509
| Field type | Description | Operators | Example
510-
## TODO: REPHRASE BELOW
510+
511511
| `count`
512512
| A special 'top level' key inside the `where` aggregation and will be available for all relationships. This is used to count the amount of relationships the parent node is connected to.
513+
| `nodes`, `edges`
513514
a|
514515
[source, graphql, indent=0]
515516
----

modules/ROOT/pages/neo4jgraphql-class.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ See xref:security/configuration.adoc[Security > Configuration].
7070
=== Subscription settings
7171

7272
Enable the `subscriptions` feature of the Neo4j GraphQL Library by setting it to `true`.
73-
See xref:subscriptions/engines.adoc[Subscription engines].
73+
See xref:subscriptions/getting-started.adoc[Subscription].
7474

7575

7676
=== Exclude deprecated fields

modules/ROOT/pages/optimization.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ const neoSchema = new Neo4jGraphQL({
2323
driver,
2424
features: {
2525
excludeDeprecatedFields: {
26-
implicitEqualFilters: true;
27-
deprecatedOptionsArgument: true;
28-
directedArgument: true;
29-
},
26+
mutationOperations: true;
27+
aggregationFilters: true;
28+
aggregationFiltersOutsideConnection: true;
29+
relationshipFilters: true;
30+
attributeFilters: true;
31+
};
3032
},
3133
});
3234
```
3335

34-
;
35-

modules/ROOT/pages/security/authorization.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ For example, the following would allow for the update of a `User` node if the JW
258258
[source, graphql, indent=0]
259259
----
260260
type User @node @authorization(validate: [
261-
{ operations: [UPDATE], where: { jwt: { roles_INCLUDES: "admin" } } }
261+
{ operations: [UPDATE], where: { jwt: { roles: { includes: "admin" } } } }
262262
{ operations: [UPDATE], where: { node: { locked: false } } }
263263
]) {
264264
id: ID!
@@ -271,7 +271,7 @@ If you want to combine the rule that a user must be an admin with the rule that
271271
[source, graphql, indent=0]
272272
----
273273
type User @node @authorization(validate: [
274-
{ operations: [UPDATE], where: { AND: [{ jwt: { roles_INCLUDES: "admin" } }, { node: { locked: false } }] } }
274+
{ operations: [UPDATE], where: { AND: [{ jwt: { roles: { includes: "admin" } } }, { node: { locked: false } }] } }
275275
]) {
276276
id: ID!
277277
locked: Boolean!

modules/ROOT/pages/troubleshooting.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Then delete the director node:
197197
[source, graphql, indent=0]
198198
----
199199
mutation {
200-
deletePeople(where: { name_EQ: "Robert Zemeckis" }) {
200+
deletePeople(where: { name: { eq: "Robert Zemeckis" } }) {
201201
nodesDeleted
202202
}
203203
}

0 commit comments

Comments
 (0)