Valentyn Kahamlyk created TINKERPOP-3044:
--------------------------------------------
Summary: Add the ability to explicitly specify the type for
numeric data in JavaScript GLV
Key: TINKERPOP-3044
URL: https://issues.apache.org/jira/browse/TINKERPOP-3044
Project: TinkerPop
Issue Type: Improvement
Components: javascript
Reporter: Valentyn Kahamlyk
Now integer value can be serialized only as Int or Long, and users can't select
type explicitly.
[implementation|https://github.com/apache/tinkerpop/blob/963bece33ce0f662ea8e6106b1128e27b587aaed/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/binary/internals/NumberSerializationStrategy.js#L57]
Add support for Byte and Short, allow so select type for any number, for
example send 1 as Byte or Short or Int or Long or Double, etc.
Find a way to handle values outside [MIN_SAFE_INTEGER,MAX_SAFE_INTEGER].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)