Skip to content

Commit

Permalink
Hotfix for a stack overflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcweber committed Mar 2, 2023
1 parent 1e16532 commit 0b6f0f1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using ExRam.Gremlinq.Core;
using ExRam.Gremlinq.Core.Steps;
using ExRam.Gremlinq.Core.Serialization;
using Gremlin.Net.Process.Traversal;

namespace ExRam.Gremlinq.Providers.CosmosDb.Tests
{
Expand All @@ -12,7 +13,7 @@ public static IGremlinQueryEnvironment AddFakePartitionKey(this IGremlinQueryEnv
.ConfigureSerializer(serializer => serializer
.Add<AddVStep>((step, env, recurse) => new[]
{
step,
new Instruction("addV", step.Label), //TODO: Override...?
recurse.Serialize(new PropertyStep.ByKeyStep("PartitionKey", "PartitionKey"), env)
}));
}
Expand Down

0 comments on commit 0b6f0f1

Please sign in to comment.