Skip to content

Commit e4cc199

Browse files
mnd999Hunterness
andauthored
Apply suggestions from code review
Co-authored-by: Therese Magnusson <[email protected]>
1 parent f2ada6a commit e4cc199

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/ROOT/pages/errors/gql-errors/22NCF.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
error: data exception - graph type constraint not supported. Graph type constraint definitions are not supported in the `{ <<graphTypeOperation>> }` operation.
55

66
== Explanation
7-
This error occurs when an attempt is made to specify a graph type constraint using the DROP or AMEND operations, which does not support such operations.
8-
Graph type constraints my only be dropped by name when using the DROP operation, and are completely invalid when using AMEND.
9-
This also applies to graph type constraints defined inline of the graph type elements using `IS KEY` and `IS UNIQUE`
7+
This error occurs when an attempt is made to specify a graph type constraint using the DROP or ALTER operations, which does not support such operations.
8+
Graph type constraints may only be dropped by name when using the DROP operation, and are completely invalid when using ALTER.
9+
This also applies to graph type constraints defined inline of the graph type elements using `IS KEY` and `IS UNIQUE`.
1010

1111
== Example scenario
1212

modules/ROOT/partials/glossary.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
[[funType]]$funType:: Function type, e.g. non-deterministic or aggregate.
4747
[[graph]]$graph:: The name of a graph, for example, `myGraph`.
4848
[[graphTypeDependence]]$graphTypeDependence:: Graph type dependencency for constraint, one of `UNDESIGNATED`, `INDEPENDENT`, or `DEPENDENT`.
49-
[[graphTypeElement]]$graphTypeElement:: An element of a graph type, for example `(:Node => { name :: STRING})`, or `(:Src)-[:REL =>]->(:Target)`.
49+
[[graphTypeElement]]$graphTypeElement:: An element of a graph type, for example `(:Node => { name :: STRING})`, or `(:Source)-[:REL =>]->(:Target)`.
5050
[[graphTypeReference]]$graphTypeReference:: Graph type reference, for example, `(:Node =>)` or `p`.
5151
[[graphTypeOperation]]$graphTypeOperation:: Graph type operation, for example, one of `SET`, `ADD`, `DROP` or `ALTER`.
5252
[[hint]]$hint:: Freeform description of a hint, for example, `USING INDEX n:N(prop)`.

0 commit comments

Comments
 (0)