This is an automated email from the ASF dual-hosted git repository.
xiazcy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/master by this push:
new 6b5c24d20c CTR fix gremlin-javascript build issue
6b5c24d20c is described below
commit 6b5c24d20cc1c37d3652e039bfa102f4d79c629f
Author: xiazcy <[email protected]>
AuthorDate: Tue Oct 21 08:42:20 2025 -0700
CTR fix gremlin-javascript build issue
---
.../src/main/javascript/gremlin-javascript/lib/structure/graph.ts | 4 ++--
.../gremlin-javascript/lib/structure/io/type-serializers.ts | 4 +---
gremlin-mcp/src/main/javascript/src/constants.ts | 2 +-
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git
a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.ts
b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.ts
index 872a7dddc9..b646c46101 100644
---
a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.ts
+++
b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.ts
@@ -90,9 +90,9 @@ export class Edge<
> extends Element<TLabel, TId> {
constructor(
id: TId,
- readonly outV: TOutVertex | null,
+ readonly outV: TOutVertex,
readonly label: TLabel,
- readonly inV: TInVertex | null,
+ readonly inV: TInVertex,
readonly properties: Property[] = [],
) {
super(id, label, properties);
diff --git
a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/type-serializers.ts
b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/type-serializers.ts
index 3c4594fe64..5a7523f14f 100644
---
a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/type-serializers.ts
+++
b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/type-serializers.ts
@@ -309,7 +309,7 @@ export class TraversalStrategySerializer extends
TypeSerializer<ts.TraversalStra
/**
* Helper function to deserialize properties into arrays of VertexProperty or
Property according to graphSONV3.
*/
-function deserializeProperties(value, reader) {
+function deserializeProperties(value: { [x: string]: any }, reader: { read:
(arg0: any) => any }) {
let properties = [];
if ('properties' in value) {
const props = reader.read(value['properties']);
@@ -325,8 +325,6 @@ function deserializeProperties(value, reader) {
return properties;
}
-class VertexSerializer extends TypeSerializer {
- deserialize(obj) {
export class VertexSerializer extends TypeSerializer<g.Vertex> {
deserialize(obj: SerializedValue) {
const value = obj[valueKey];
diff --git a/gremlin-mcp/src/main/javascript/src/constants.ts
b/gremlin-mcp/src/main/javascript/src/constants.ts
index ead85288c1..7ba8b75192 100644
--- a/gremlin-mcp/src/main/javascript/src/constants.ts
+++ b/gremlin-mcp/src/main/javascript/src/constants.ts
@@ -24,7 +24,7 @@
* including server metadata, MCP protocol identifiers, and configuration
defaults.
*/
-export const GREMLIN_VERSION = '3.8.0-SNAPSHOT'; // DO NOT MODIFY - Configured
automatically by Maven Replacer Plugin
+export const GREMLIN_VERSION = '4.0.0-SNAPSHOT'; // DO NOT MODIFY - Configured
automatically by Maven Replacer Plugin
// Server Information
export const SERVER_INFO = {