Skip to content

Commit 5a8aaf3

Browse files
committed
Merge pull request #158 from neo4j/minor-adjustments
minor adjustments
1 parent b940f30 commit 5a8aaf3

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

modules/ROOT/pages/directives/autogeneration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This page describes directives used for autogeneration:
1212
This directive marks a field as an identifier for an object type.
1313
This enables autogeneration of IDs for the field.
1414

15-
The format of each generated ID is a UUID generated by https://neo4j.com/docs/cypher-manual/current/functions/scalar/#functions-randomuuid[randomUUID() function].
15+
The format of each generated ID is a UUID generated by the link:https://neo4j.com/docs/cypher-manual/current/functions/scalar/#functions-randomuuid[`randomUUID()` function].
1616
The field will not be present in input types for mutations.
1717

1818
It is recommended to use xref::/directives/indexes-and-constraints.adoc#type-definitions-constraints-unique[`@unique`] in conjunction with this to add a unique node property constraint.

modules/ROOT/pages/directives/custom-logic.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ For more information, see link:https://neo4j.com/developer/kb/understanding-non-
268268

269269
This directive helps querying against non-existent properties in a database.
270270
However, it is encouraged to populate these properties with meaningful values if it becomes the norm.
271-
The `@coalesce`directive is a primitive implementation of the function which only takes a static default value as opposed to using another property in a node or a Cypher expression.
271+
The `@coalesce` directive is a primitive implementation of the function which only takes a static default value as opposed to using another property in a node or a Cypher expression.
272272

273273
=== Definition
274274

modules/ROOT/pages/directives/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ a| Required to differentiate interfaces that are used for relationship propertie
2323
| xref::/directives/database-mapping.adoc#type-definitions-alias[`@alias`]
2424
| Maps a GraphQL schema field to a Neo4j property on a node or relationship.
2525

26-
| `@declareRelationship`
27-
| Configure xref::/types/relationships.adoc[relationships] to be implemented on object types.
26+
| xref::/types/relationships.adoc#_declarerelationship[`@declareRelationship`]
27+
| Configure relationships to be implemented on object types.
2828

2929
|===
3030

modules/ROOT/pages/directives/schema-configuration/global-configuration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ extend schema @query(read: true, aggregate: false)
3535

3636
**Invalid schema usage**
3737

38-
The same schema configuration directive cannot be applied to both Schema and Object.
38+
The same schema configuration directive cannot be applied to both schema and object.
3939
Take the following type definitions as example:
4040

4141
[source, graphql, indent=0]

modules/ROOT/pages/types/relationships.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ type ActedIn @relationshipProperties {
8888
}
8989
----
9090

91+
=== `@declareRelationship`
92+
9193
If you need a relationship to be available on interfaces, you need to use the new `@declareRelationship` directive instead, as well as define the relationships in the concrete type:
9294

9395
[source, graphql, indent=0]

0 commit comments

Comments
 (0)