Should by() Modulator Work For More Types?

This works.
gremlin> g.V().out().out().path().by("name") ==>[marko,josh,ripple] ==>[marko,josh,lop]

but this doesn't.
gremlin> g.union(__.V().out().out().path().by("name")) The by("name") modulator can only be applied to a traverser that is an Element or a Map - it is being applied to [false] a Boolean class instead

Was this an intentional decision?
Solution
This is a bug and I know whats' wrong. I will fix it for 3.7.1. Please create a JIRA for it.
Was this page helpful?