You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@label(VertexLabel.MyCCLabel)
case class MyCC(val foo: String) extends DomainRoot
Queries like this fail:
graph.V().hasLabel[MyCC]
The GremlinScala.hasLabel[CC <: Product: ru.WeakTypeTag]() implementation assumes that a literal string will be passed to the @label annotation (e.g. @Label("my.domain.Class")). It parses the annotation tree looking for a begin quote. In our case, we are instead passing a reference to a constant value.
I'll push up a PR with a fix.
@mpollmeier, Thank you again for your great work on this lib!!