lib/grumlin/typing.rb in grumlin-0.11.0 vs lib/grumlin/typing.rb in grumlin-0.12.0

- old
+ new

@@ -11,9 +11,10 @@ "g:Path" => ->(value) { cast_entity(Grumlin::Path, value) }, "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:T" => ->(value) { value.to_sym } }.freeze CASTABLE_TYPES = [Hash, String, Integer, TrueClass, FalseClass].freeze