You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/index.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,13 @@ It can generate an entire executable schema with all of the additional types nee
23
23
For every query and mutation that is executed against this generated schema, the Neo4j GraphQL Library generates a single Cypher query which is executed against the database. This eliminates the https://www.google.com/search?q=graphql+n%2B1[N+1 Problem], which can make GraphQL implementations slow and inefficient.
24
24
25
25
- Automatic generation of xref::queries-aggregations/queries.adoc[Queries] and xref::mutations/index.adoc[Mutations] for CRUD interactions.
26
-
- xref::reference/type-definitions/types.adoc[Types], including temporal and spatial.
26
+
- xref::/type-definitions/types/index.adoc[Types], including temporal and spatial.
27
27
- Support for both node and relationship properties.
28
-
- Extensibility through the xref::reference/directives/cypher.adoc[`@cypher` directive] and/or xref::custom-resolvers.adoc[Custom Resolvers].
28
+
- Extensibility through the xref::/type-definitions/directives/cypher.adoc[`@cypher` directive] and/or xref::custom-resolvers.adoc[Custom Resolvers].
29
29
- Extensive xref::queries-aggregations/filtering.adoc[Filtering] and xref::queries-aggregations/sorting.adoc[Sorting] options.
30
-
- Options for value xref::reference/directives/autogeneration.adoc[Autogeneration] and xref::reference/directives/default-values.adoc[Default Values].
- xref::authentication-and-authorization/index.adoc[Authentication and authorization options] and additional xref::reference/directives/schema-configuration/index.adoc[Schema Configuration].
30
+
- Options for value xref::/type-definitions/directives/autogeneration.adoc[Autogeneration] and xref::/type-definitions/directives/default-values.adoc[Default Values].
- xref::authentication-and-authorization/index.adoc[Authentication and authorization options] and additional xref::schema-configuration/index.adoc[Schema Configuration].
33
33
- An xref::ogm/index.adoc[OGM] (Object Graph Mapper) for programmatic interaction with your GraphQL API.
34
34
- A xref::getting-started/toolbox.adoc[Toolbox] (UI) to experiment with your Neo4j GraphQL API on Neo4j Desktop.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/migration/index.adoc
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ type NameOfTypeToExclude @exclude {
97
97
name: String
98
98
}
99
99
----
100
-
For more information regarding the above used `@exclude` directive, see xref::reference/directives/schema-configuration/type-configuration.adoc#_exclude_deprecated[`@exclude`]
100
+
For more information regarding the above used `@exclude` directive, see xref::/schema-configuration/type-configuration.adoc#_exclude_deprecated[`@exclude`]
Database bookmarks are also supported. See xref::reference/driver-configuration.adoc[Driver Configuration] for more information.
156
+
Database bookmarks are also supported. See xref::driver-configuration.adoc[Driver Configuration] for more information.
157
157
158
158
[[migration-guide-type-definitions]]
159
159
== Type Definitions
@@ -173,7 +173,7 @@ Migrating this directive is trivial:
173
173
174
174
For example, `@relation(name: "ACTED_IN", direction: OUT)` becomes `@relationship(type: "ACTED_IN", direction: OUT)`.
175
175
176
-
See xref::reference/type-definitions/relationships.adoc[Relationships] for more information on relationships in `@neo4j/graphql`.
176
+
See xref::/type-definitions/types/relationships.adoc[Relationships] for more information on relationships in `@neo4j/graphql`.
177
177
178
178
==== Relationship Properties
179
179
@@ -226,13 +226,13 @@ And note the following changes to the two node types:
226
226
227
227
=== `@cypher`
228
228
229
-
No change. See xref::reference/directives/cypher.adoc[`@cypher` directive] for more details on this directive in `@neo4j/graphql`.
229
+
No change. See xref::/type-definitions/directives/cypher.adoc[`@cypher` directive] for more details on this directive in `@neo4j/graphql`.
230
230
231
231
==== `@neo4j_ignore`
232
232
233
233
`@neo4j/graphql` offers two directives for skipping autogeneration for specified types/fields:
234
234
235
-
* xref::reference/directives/schema-configuration/type-configuration.adoc#_exclude_deprecated[`@exclude`]: Skip generation of specified Query/Mutation fields for an object type
235
+
* xref::/schema-configuration/type-configuration.adoc#_exclude_deprecated[`@exclude`]: Skip generation of specified Query/Mutation fields for an object type
236
236
* xref::custom-resolvers.adoc#custom-resolver-directive[`@customResolver`]: Ignore a field, which will need custom logic for resolution
237
237
238
238
==== `@isAuthenticated`, `@hasRole` and `@hasScope`
@@ -245,7 +245,7 @@ Not supported at this time.
245
245
246
246
==== `@id`
247
247
248
-
There is an equivalent directive in the new library, but it does not work using database constraints as per the old library. See xref::reference/directives/autogeneration.adoc#type-definitions-autogeneration-id[`@id`].
248
+
There is an equivalent directive in the new library, but it does not work using database constraints as per the old library. See xref::/type-definitions/directives/autogeneration.adoc#type-definitions-autogeneration-id[`@id`].
249
249
250
250
==== `@unique`, `@index` and `@search`
251
251
@@ -255,7 +255,7 @@ These all relate to database indexes and constraints, which are not currently su
255
255
256
256
==== Scalar Types
257
257
258
-
Supported as you would expect, with additional xref::reference/type-definitions/types.adoc#type-definitions-types-bigint[`BigInt`] support for 64 bit integers.
258
+
Supported as you would expect, with additional xref::/type-definitions/types/scalar.adoc[`BigInt`] support for 64 bit integers.
259
259
260
260
==== Temporal Types (`DateTime`, `Date`)
261
261
@@ -285,14 +285,14 @@ Has become:
285
285
286
286
Due to the move to ISO 8601 strings, input types are no longer necessary for temporal instances, so `_Neo4jDateTimeInput` has become `DateTime` and `_Neo4jDateInput` has become `Date` for input.
287
287
288
-
See xref::reference/type-definitions/types.adoc#type-definitions-types-temporal[Temporal Types].
288
+
See xref::/type-definitions/types/temporal.adoc[Temporal Types].
289
289
290
290
==== Spatial Types
291
291
292
292
The single type in `neo4j-graphql-js`, `Point`, has been split out into two types:
Correspondingly, `_Neo4jPointInput` has also been split out into two input types:
298
298
@@ -303,11 +303,11 @@ Using them in Queries and Mutations should feel remarkably similar.
303
303
304
304
==== Interface Types
305
305
306
-
Supported, queryable using inline fragments as per `neo4j-graphql-js`, but can also be created using Nested Mutations. See xref::reference/type-definitions/interfaces.adoc[Interfaces].
306
+
Supported, queryable using inline fragments as per `neo4j-graphql-js`, but can also be created using Nested Mutations. See xref::/type-definitions/types/interfaces.adoc[Interfaces].
307
307
308
308
==== Union Types
309
309
310
-
Supported, queryable using inline fragments as per `neo4j-graphql-js`, but can also be created using Nested Mutations. See xref::reference/type-definitions/unions.adoc#type-definitions-unions[Unions].
310
+
Supported, queryable using inline fragments as per `neo4j-graphql-js`, but can also be created using Nested Mutations. See xref::/type-definitions/types/unions.adoc#type-definitions-unions[Unions].
Copy file name to clipboardExpand all lines: modules/ROOT/pages/migration/v3-migration.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -201,12 +201,12 @@ To improve consistency, some automatically generated plurals (e.g. `createActors
201
201
your types use conventions such as `snake_case`.
202
202
203
203
Because of this, you may find generated queries and mutations may have different names. If you encounter this problem,
204
-
please update your clients to use the new query names or use the `plural` option in the xref::reference/directives/database-mapping.adoc#type-definitions-node[@node directive]
204
+
please update your clients to use the new query names or use the `plural` option in the xref::/type-definitions/directives/database-mapping.adoc#type-definitions-node[@node directive]
205
205
to force a custom plural value.
206
206
207
207
== Custom Directives
208
208
Defining and applying custom directives has changed significantly, if you are using or plan to use custom directives, make
209
-
sure to check the up-to-date documentation on xref::reference/directives/custom-directives.adoc[custom directives].
209
+
sure to check the up-to-date documentation on xref::/type-definitions/directives/custom-directives.adoc[custom directives].
210
210
211
211
== Types changes
212
212
Some automatically generated types have changed to improve consistency.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/migration/v4-migration/index.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -992,7 +992,7 @@ const neoSchema = new Neo4jGraphQL({
992
992
=== Opt-in Aggregation
993
993
994
994
Aggregation operations are no longer generated by default.
995
-
They can be enabled case by case using the directives xref::reference/directives/schema-configuration/type-configuration.adoc#_query[`@query`] and xref::reference/directives/schema-configuration/field-configuration.adoc#_relationship[`@relationship`].
995
+
They can be enabled case by case using the directives xref::/schema-configuration/type-configuration.adoc#_query[`@query`] and xref::/schema-configuration/field-configuration.adoc#_relationship[`@relationship`].
996
996
997
997
You can enable the operation fields `actorsAggregate` and `actedInAggregate` like this:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/mutations/create.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ This allows you to create not only the type in question, but to recurse down and
42
42
43
43
[NOTE]
44
44
====
45
-
The `id` field is absent from both `create` input types as the xref::reference/directives/autogeneration.adoc#type-definitions-autogeneration-id[`@id`] directive has been used.
45
+
The `id` field is absent from both `create` input types as the xref::/type-definitions/directives/autogeneration.adoc#type-definitions-autogeneration-id[`@id`] directive has been used.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/mutations/update.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ type Mutation {
53
53
54
54
[NOTE]
55
55
====
56
-
The `id` field cannot be updated as the xref::reference/directives/autogeneration.adoc#type-definitions-autogeneration-id[`@id`] directive has been used.
56
+
The `id` field cannot be updated as the xref::/type-definitions/directives/autogeneration.adoc#type-definitions-autogeneration-id[`@id`] directive has been used.
57
57
====
58
58
59
59
== Single `update`
@@ -412,7 +412,7 @@ mutation {
412
412
== Mathematical operators
413
413
414
414
Mathematical operators can be used to update numerical fields based on their original values in a single DB transaction.
415
-
For that, specific operators are available on different numerical types: `Int`, `Float`, xref::reference/type-definitions/types.adoc#type-definitions-types-bigint[`BigInt`].
415
+
For that, specific operators are available on different numerical types: `Int`, `Float`, xref::/type-definitions/types/scalar.adoc[`BigInt`].
|A JavaScript object representation of the GraphQL `options` input type used for xref::queries-aggregations/sorting.adoc[Sorting] and xref::pagination/index.adoc[Pagination].
393
+
|A JavaScript object representation of the GraphQL `options` input type used for xref::queries-aggregations/sorting.adoc[Sorting] and xref::/queries-aggregations/pagination/index.adoc[Pagination].
|A JavaScript object representation of the GraphQL `options` input type used for xref::queries-aggregations/sorting.adoc[Sorting] and xref::pagination/index.adoc[Pagination].
470
+
|A JavaScript object representation of the GraphQL `options` input type used for xref::queries-aggregations/sorting.adoc[Sorting] and xref::/queries-aggregations/pagination/index.adoc[Pagination].
0 commit comments