Skip to content

Commit a027ad3

Browse files
committed
Update features in neo4jgraphql class docs
1 parent bb687db commit a027ad3

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

modules/ROOT/pages/neo4jgraphql-class.adoc

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,23 @@ export type Neo4jFeaturesSettings = {
4444
aggregationFilters?: boolean;
4545
nestedUpdateOperationsFields?: boolean;
4646
};
47+
unsafeEscapeOptions?: {
48+
/** Disables automatic escaping of node labels.
49+
*
50+
* **WARNING**: Disabling label escaping may lead to code injection and unsafe Cypher.
51+
*/
52+
disableNodeLabelEscaping?: boolean;
53+
/** Disables automatic escaping of relationship types.
54+
*
55+
* **WARNING**: Disabling type escaping may lead to code injection and unsafe Cypher.
56+
*/
57+
disableRelationshipTypeEscaping?: boolean;
58+
};
4759
vector?: Neo4jVectorSettings;
60+
cypherDirective?: {
61+
/** Enabling this setting, the limit generated by the directive `@limit` won't be added to fields with custom cypher */
62+
disableGeneratedLimit?: boolean;
63+
};
4864
};
4965
----
5066

@@ -83,4 +99,4 @@ See xref:optimization.adoc#_exclude_deprecated_fields[Exclude `@deprecated` fiel
8399
=== Vector settings
84100

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

0 commit comments

Comments
 (0)