Skip to content

Commit 8f28350

Browse files
committed
added more links, fixed callouts
1 parent fe4f15e commit 8f28350

File tree

2 files changed

+22
-16
lines changed

2 files changed

+22
-16
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@
2020
** xref:types/interfaces.adoc[Interfaces]
2121
** xref:types/unions.adoc[Union]
2222
** xref:types/relationships.adoc[]
23+
* xref:constructor.adoc[]
2324
* xref:directives/index.adoc[]
2425
** xref:directives/database-mapping.adoc[]
25-
* xref:constructor-features.adoc[]
26-
2726
** xref:directives/autogeneration.adoc[]
2827
** xref:directives/schema-configuration/index.adoc[]
2928
*** xref:directives/schema-configuration/global-configuration.adoc[]

modules/ROOT/pages/constructor-features.adoc renamed to modules/ROOT/pages/constructor.adoc

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
1+
= Constructor
2+
:description: This section describes various setting field in the Neo4j GraphQL Library constructor.
13

2-
= Constructor features
3-
:description: This section describes features that can be set in the constructor of the Neo4j GraphQL Library.
4-
5-
You can set different features in the `features` field <1> of the Neo4j GraphQL constructor:
4+
You can set assign different setting fields in the Neo4j GraphQL constructor:
65

76
[source, javascript, indent=0]
87
----
98
export interface Neo4jGraphQLConstructor {
10-
typeDefs: TypeDefinitions;
11-
resolvers?: IExecutableSchemaDefinition["resolvers"];
12-
features?: Neo4jFeaturesSettings; <1>
13-
driver?: Driver;
9+
typeDefs: TypeDefinitions;<1>
10+
resolvers?: IExecutableSchemaDefinition["resolvers"];<2>
11+
features?: Neo4jFeaturesSettings; <3>
12+
driver?: Driver; <4>
1413
debug?: boolean;
1514
validate?: boolean;
1615
}
1716
----
17+
<1> See xref:types/index.adoc[].
18+
<2> ?
19+
<3> See xref:#_feature_settings[] on this page.
20+
<4> See xref:driver-configuration.adoc[].
21+
22+
23+
== Feature settings
1824

25+
You can set different features in the `features` field of the Neo4j GraphQL constructor.
1926
The `Neo4jFeaturesSettings` type looks like this:
2027

2128
[source, javascript, indent=0]
@@ -42,38 +49,38 @@ export type Neo4jFeaturesSettings = {
4249
----
4350

4451

45-
== Filter settings
52+
=== Filter settings
4653

4754
Use `Neo4jFiltersSettings` to enable numeric String comparisons and regular expression filters for Strings and IDs.
4855
They are disabled by default.
4956
See xref:queries-aggregations/filtering.adoc#_string_comparison[String comparison] and xref:queries-aggregations/filtering.adoc#_regex_matching[RegEx matching].
5057

5158

52-
== `populatedBy` settings
59+
=== `populatedBy` settings
5360

5461
Use the `populatedBy` field to register callback functions used by the `@populatedBy` directive.
5562
See xref:directives/custom-logic.adoc#_populatedby[`@populatedBy`].
5663

5764

58-
== Authorization settings
65+
=== Authorization settings
5966

6067
Set authorization keys in the `authorization` field.
6168
See xref:security/configuration.adoc[Security > Configuration].
6269

6370

64-
== Subscription settings
71+
=== Subscription settings
6572

6673
Enable the `subscriptions` feature of the Neo4j GraphQL Library by setting it to `true`.
6774
See xref:subscriptions/engines.adoc[Subscription engines].
6875

6976

70-
== Exclude deprecated fields
77+
=== Exclude deprecated fields
7178

7279
If you are not using them, use `excludeDeprecatedFields` to disable the generation of various deprecated fields.
7380
See xref:optimization.adoc#_exclude_deprecated_fields[Exclude `@deprecated` fields].
7481

7582

76-
== Vector settings
83+
=== Vector settings
7784

7885
Set your GenAI provider credentials with the `vector` field.
7986
See xref:directives/indexes-and-constraints.adoc#_vector_index_search[`@vector`].

0 commit comments

Comments
 (0)