From 1f35d382d200e99b84031a7ec6128ac3f2d9c264 Mon Sep 17 00:00:00 2001 From: ci <61233757+MaxAake@users.noreply.github.com> Date: Mon, 27 Oct 2025 13:24:00 +0100 Subject: [PATCH] Add notice to point stringer for 7.0 update --- packages/core/src/spatial-types.ts | 1 + packages/neo4j-driver-deno/lib/core/spatial-types.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/core/src/spatial-types.ts b/packages/core/src/spatial-types.ts index d042050c6..53e262598 100644 --- a/packages/core/src/spatial-types.ts +++ b/packages/core/src/spatial-types.ts @@ -65,6 +65,7 @@ export class Point { * @ignore */ toString (): string { + // Update this in 7.0 to be copy-pasteable into cypher (currently missing parenthesis) return this.z != null && !isNaN(this.z) ? `Point{srid=${formatAsFloat(this.srid)}, x=${formatAsFloat( this.x diff --git a/packages/neo4j-driver-deno/lib/core/spatial-types.ts b/packages/neo4j-driver-deno/lib/core/spatial-types.ts index 6ec14ebd3..10c1efd9c 100644 --- a/packages/neo4j-driver-deno/lib/core/spatial-types.ts +++ b/packages/neo4j-driver-deno/lib/core/spatial-types.ts @@ -65,6 +65,7 @@ export class Point { * @ignore */ toString (): string { + // Update this in 7.0 to be copy-pasteable into cypher (currently missing parenthesis) return this.z != null && !isNaN(this.z) ? `Point{srid=${formatAsFloat(this.srid)}, x=${formatAsFloat( this.x