Hi all,

Now in embedded graph technically possible to use any JVM type, but for
network transmission this set is more limited. Also there are some
differences in GLV's, for example number handling in Python and Javascript.

There are 2 main categories of Gremlin types:
- some needed to transfer data over the wire, for example Graph Elements,
lots of enums and other utility types like ByteCode and Bindings.
- types designed to store data as values in a graph, like labels, property
values, etc. This includes most simple types like numbers, strings, dates,
and some composite types like collections (List, Set, Map).
Some types like Integer used everywhere.

Restricting values to a limited set of allowed types helps to decouple
gremlin from its JVM foundation, and allows us to ensure that value types
are handled consistently across all gremlin language variants.

I would like to discuss whether it makes sense to put such restrictions on
element property values?
If yes, what types to allow to be used as element property values?

Reply via email to