public static IGremlinQueryEnvironment EchoGraphsonString(this IGremlinQueryEnvironment environment)
 {
     return(environment
            .UseSerializer(GremlinQuerySerializer.Default)
            .UseExecutor(GremlinQueryExecutor.Identity)
            .UseDeserializer(GremlinQueryExecutionResultDeserializer.ToGraphsonString));
 }
Exemple #2
0
 public static IGremlinQueryEnvironment EchoGraphsonString(this IGremlinQueryEnvironment environment)
 {
     return(environment
            .UseSerializer(GremlinQuerySerializer.Default)
            .UseExecutor(GremlinQueryExecutor.Identity)
            .ConfigureDeserializer(_ => _
                                   .ConfigureFragmentDeserializer(_ => _
                                                                  .ToGraphsonString())));
 }