lib/avro/schema.rb in avro-salsify-fork-1.9.0.1 vs lib/avro/schema.rb in avro-salsify-fork-1.9.0.2

- old
+ new

@@ -96,10 +96,10 @@ # Determine if a ruby datum is an instance of a schema def self.validate(expected_schema, logical_datum, encoded = false) datum = if encoded logical_datum else - expected_schema.type_adapter.encode(logical_datum) + expected_schema.type_adapter.encode(logical_datum) rescue nil end case expected_schema.type_sym when :null datum.nil?