I am trying to get subgraph from a graph using Gremlin.net bytecode syntax and getting error when extracting/Cap from a subgraph. I am able to get the results if I query directly using the query string however not with the fluent API byte code syntax.
Query string that returns results when used directly on cosmos DB:
g.V().has('name','Samplevertex').outE().HasLabel("child").subgraph('sg').cap('sg')
C# gremlin.net syntax that is not working is :
var result = g
.V()
.Has("name", "Samplevertex")
.OutE()
.HasLabel("child")
.Subgraph("sg")
.Cap<GraphSON3Reader>("sg")
.Next();
When I use the above code it gives an error saying that deserializer for "tinker:graph" not found. Tried with different types in Cap<> like string , custom model. however still got the same error.
Want to know if I am missing anything from Gremlin server config side or if there is a known issue that subgraphs with cap do not work with gremlin.net by default ?