gremlin-scala icon indicating copy to clipboard operation
gremlin-scala copied to clipboard

Scala wrapper for Apache TinkerPop 3 Graph DSL

Results 33 gremlin-scala issues
Sort by recently updated
recently updated
newest added

Is it intentional, that case classes must be defined at top level and cannot be inside other scope? Works: ```scala class CaseClassSpec extends FlatSpec with Matchers { @label("example") case class...

It looks like `ScalaVertex.updateWith` is not correctly handling updates where the updating case class has members of type `Option[T]` and value `None`. Here's a minimal working example: ``` object UpdateWithMWE...

There is now the possibility to insert an edge using case classes, but I have not found a way to insert/update them within a transaction.

How would you do something simple like this? Would be nice to have it in the readme ``` getOrCreate = { type, id -> g.V().hasLabel(type).hasId(id).tryNext().orElseGet{ g.addV(T.id, id, T.label, type).next() }...

I'd be great if we could do `graph + ("event", T.id -> "123", foo -> "bar")`.

I'm excusing myself in advance as I'm not sure if this problem belongs to gremlin-scala or another library. ### Context I'm using OrientDb as a database for an akka http...

Is there a technical reason the current implementations only support using `String`? Or is it just a todo?

enhancement

Is there a fundamental reason the transform function can only generate `String`s? The [TinkerPop API](http://tinkerpop.apache.org/javadocs/3.1.1-incubating/full/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#branch-java.util.function.Function-) is generic on return type.

enhancement

I have some custom `Marshallable` implementations where I use `FromCC(None, ..., ...)`. When I attempt to start a traversal with `graph.V(0)` I get an empty result. If I do `graph.V(0l)`...

@joan38 @mpollmeier I tested the nested classes on `Neo4J` and `Titan` none of them support any Map implementation for now. So we cannot have nested `case classes` in those DBs,...