Exram.Gremlinq 12.3.0 How to implement Emit?

27 views Asked by At

Before I upgraded ExRam.Gremlinq.Core to 12.3.0 I had this piece of code (sample) working

g.V<User>()
  .As((__, user) => __.Emit()
      .Repeat(v => v.Out<FriendOf>())
      .As((___, friend) => ___.Select((node, friend))))

Now, my code doesn't compile as the new .As signature isn't recognizing Emit

enter image description here

How do I achieve this in new Gremlinq?

1

There are 1 answers

0
Daniel C. Weber On

Use Loop to enter a special loop-DSL. Emit, Repeat and Until are all available through the builder.