Marko A. Rodriguez created TINKERPOP-1211:
---------------------------------------------

             Summary: UnfoldStep should unfold arrays.
                 Key: TINKERPOP-1211
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1211
             Project: TinkerPop
          Issue Type: Bug
          Components: process
    Affects Versions: 3.1.1-incubating
            Reporter: Marko A. Rodriguez


Currently {{UnfoldStep}} does not unfold arrays as an array does not implement 
{{Iterable}} or {{Iterator}}. We simply need to check if the current object is 
an array, and if so, set the flatMap-iterator to {{ArrayIterator}}.

This would be breaking, but I doubt anyone ever uses arrays or would find this 
a problem. I'm sure anyone who wanted to {{unfold}} an array was like: 
"whaaaaa?"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to