lib/grumlin/typing.rb in grumlin-0.14.4 vs lib/grumlin/typing.rb in grumlin-0.14.5
- old
+ new
@@ -12,9 +12,10 @@
"g:Int64" => ->(value) { cast_int(value) },
"g:Int32" => ->(value) { cast_int(value) },
"g:Double" => ->(value) { cast_double(value) },
"g:Traverser" => ->(value) { cast(value[:value]) }, # TODO: wtf is bulk?
"g:Direction" => ->(value) { value },
+ # "g:VertexProperty"=> ->(value) { value }, # TODO: implement me
"g:T" => ->(value) { value.to_sym }
}.freeze
CASTABLE_TYPES = [Hash, String, Integer, TrueClass, FalseClass].freeze