[ 
https://issues.apache.org/jira/browse/TINKERPOP-2459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen Mallette closed TINKERPOP-2459.
---------------------------------------
    Resolution: Won't Do

> Allow retrieval of both results and profile()
> ---------------------------------------------
>
>                 Key: TINKERPOP-2459
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2459
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.4.8
>            Reporter: Stephen Mallette
>            Priority: Major
>
> I'm not sure if this will be possible or what might prevent it but it would 
> be nice if we could return both a traversal result and a {{profile()}}. You 
> can technically do it with {{getSideEffects()}} but we made the decision to 
> not allow side-effect retrieval remotely so that avenue is closed. Basically, 
> it would be nice if {{profile()}} could behave like other side-effect steps 
> where you can simply {{cap()}} results, but i guess I can sorta see why that 
> wouldn't work:
> {code}
> gremlin> g.V().out().profile('x').union(cap('x'),fold())
> When specified, the profile()-Step must be the last step or followed only by 
> the cap()-step.
> Type ':help' or ':h' for help.
> Display stack trace? [yN]
> {code}
> Perhaps we could do a {{profile().by()}} or the like to control how the 
> capping works?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to