Stephen Mallette created TINKERPOP-3186:
-------------------------------------------

             Summary: Inconsistency of properties data type on Element
                 Key: TINKERPOP-3186
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3186
             Project: TinkerPop
          Issue Type: Improvement
          Components: go, javascript
    Affects Versions: 3.7.4
            Reporter: Stephen Mallette
            Assignee: Stephen Mallette


The {{properties}} property on {{Element}} has datatypes inconsistent with Java 
and other GLVs, for javascript and go. In Go it is a {{Map}} and in javascript 
it can be a {{Map}}, {{List}} or {{undefined}} depending on serializer or other 
factors (and we go through great lengths to assert all of this in tests for 
some reason). The type should be {{List}}. Use an empty list if {{null}} or 
{{undefined}}.



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

Reply via email to