Github user mattallenuk commented on the issue:
https://github.com/apache/tinkerpop/pull/922
@jorgebay @spmallette So I've written the following test, however I'm
getting a Provided key/value array length must be a multiple of two when
submitting. I am guessing this is due to submitting the cardinality as a string
value. How should non-native JS types be submitted via script?
`connection.submit('g.V(vert).property(card, nm, val)', { vert: 1, card:
t.cardinality.set, nm: 'test', val: 12 } )`
this produces:
[RequestMessage{, requestId='reqid', op='eval', processor='',
args={gremlin=g.V(1).property(card, nm, val), aliases={g=gmodern},
bindings={vert=1, card=set, nm=test, val=12}, language=gremlin-groovy,
accept=application/json}}]
---