How can I write a project using an inject that doesn't exhaust itself?

Take the following example query:

g.inject("1", "2", "3").project("list").by(__.inject("b").fold()).toList()

its result is [{list=[1, b]}, {list=[2]}, {list=[3]}]

I'd like to see [{list=[1, b]}, {list=[2, b]}, {list=[3, b]}] instead

How can I accomplish this?
Was this page helpful?