lib/lit/request_deserializer.rb in litl-0.1.0 vs lib/lit/request_deserializer.rb in litl-0.1.1

- old
+ new

@@ -34,10 +34,11 @@ elsif type <= Object::Enum deserialize_enum(type, payload) elsif type == AST::Type::Primitive::String || type == AST::Type::Primitive::Integer || type == AST::Type::Primitive::Float || - type == AST::Type::Primitive::Boolean + type == AST::Type::Primitive::Boolean || + type == AST::Type::Primitive::Unit payload else deserialize(type::TYPE, payload) end elsif type.is_a?(AST::Type::Alias)