Playing with Gremlin 3.7, and looking at concat() I kind of wish this worked

g.V(3).as('a').values('code').concat(' is in ', select('a').values('city'))

rather than having to do

g.V(3).as('a').values('code').concat(' is in
').concat(select('a').values('city'))

2:58 <https://amzn-aws.slack.com/archives/D019DRT9KKN/p1691611095325259>
we do allow

g.V(3).as('a').values('code').concat(' is in ', 'Austin')  //String...

so it feels a little unbalanced. I wish I had noticed this before
but I guess the type signature would have to be object... almost for that
to work. Perhaps there is a possible compromise where we could do something
using Traversal... and String...

-- 
Cheers, Kelvin

Reply via email to