lib/active_remote/serializers/protobuf.rb in active_remote-3.3.0 vs lib/active_remote/serializers/protobuf.rb in active_remote-3.3.1

- old
+ new

@@ -135,9 +135,11 @@ def typecasted_value typecast(value) end def typecaster + return nil if type_name.nil? + @typecaster ||= Type.lookup(type_name) end def typecaster? typecaster.present?