lib/service_contract/avro/endpoint.rb in service_contract-0.0.7 vs lib/service_contract/avro/endpoint.rb in service_contract-0.0.8

- old
+ new

@@ -53,10 +53,10 @@ end # seems kinda hacky def member? first_field_type = request.fields.first.type - first_field_type.is_a?(::Avro::Schema::RecordSchema) && + first_field_type.complex? && first_field_type.name == protocol.main_type end end end end \ No newline at end of file