Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.4.8
-
None
-
None
Description
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:
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]
Perhaps we could do a profile().by() or the like to control how the capping works?
Attachments
Issue Links
- is duplicated by
-
TINKERPOP-2463 Return profile() with results
- Closed