Nested iterations create verbose rules with a lot of boilerplate.
Maybe the iteration could be over tuples of vertices.
Eg. in DiscoverJavaFilesCP, instead of
forEach( windupConf )
...
...
............
.....
forEach( javaFile )
we could query to get
[ { windupConf, javaFile },
{ windupConf, javaFile }
... ]
And iterate over that.
Anyone investigated this? IIRC from the Gremlin tutorial, this is possible.
Ondra