From a027ad399b384e6d689099a51a984bdd9ab961e5 Mon Sep 17 00:00:00 2001 From: angrykoala Date: Tue, 23 Sep 2025 10:01:14 +0100 Subject: [PATCH 1/2] Update features in neo4jgraphql class docs --- modules/ROOT/pages/neo4jgraphql-class.adoc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/neo4jgraphql-class.adoc b/modules/ROOT/pages/neo4jgraphql-class.adoc index 87ca2525..226fc4cd 100644 --- a/modules/ROOT/pages/neo4jgraphql-class.adoc +++ b/modules/ROOT/pages/neo4jgraphql-class.adoc @@ -44,7 +44,23 @@ export type Neo4jFeaturesSettings = { aggregationFilters?: boolean; nestedUpdateOperationsFields?: boolean; }; + unsafeEscapeOptions?: { + /** Disables automatic escaping of node labels. + * + * **WARNING**: Disabling label escaping may lead to code injection and unsafe Cypher. + */ + disableNodeLabelEscaping?: boolean; + /** Disables automatic escaping of relationship types. + * + * **WARNING**: Disabling type escaping may lead to code injection and unsafe Cypher. + */ + disableRelationshipTypeEscaping?: boolean; + }; vector?: Neo4jVectorSettings; + cypherDirective?: { + /** Enabling this setting, the limit generated by the directive `@limit` won't be added to fields with custom cypher */ + disableGeneratedLimit?: boolean; + }; }; ---- @@ -83,4 +99,4 @@ See xref:optimization.adoc#_exclude_deprecated_fields[Exclude `@deprecated` fiel === Vector settings Set your GenAI provider credentials with the `vector` field. -See xref:directives/indexes-and-constraints.adoc#_vector_index_search[`@vector`]. \ No newline at end of file +See xref:directives/indexes-and-constraints.adoc#_vector_index_search[`@vector`]. From d9efadd3c56098a4d7ace28d84e8caf6f6fc5c8e Mon Sep 17 00:00:00 2001 From: angrykoala Date: Tue, 23 Sep 2025 13:33:06 +0100 Subject: [PATCH 2/2] Update modules/ROOT/pages/neo4jgraphql-class.adoc Co-authored-by: Richard Sill <156673635+rsill-neo4j@users.noreply.github.com> --- modules/ROOT/pages/neo4jgraphql-class.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/neo4jgraphql-class.adoc b/modules/ROOT/pages/neo4jgraphql-class.adoc index 226fc4cd..49190c03 100644 --- a/modules/ROOT/pages/neo4jgraphql-class.adoc +++ b/modules/ROOT/pages/neo4jgraphql-class.adoc @@ -58,7 +58,7 @@ export type Neo4jFeaturesSettings = { }; vector?: Neo4jVectorSettings; cypherDirective?: { - /** Enabling this setting, the limit generated by the directive `@limit` won't be added to fields with custom cypher */ + /** Enable this setting to prevent the limit generated by the directive `@limit` from being added to fields with custom Cypher. */ disableGeneratedLimit?: boolean; }; };