lib/service_contract/avro/endpoint.rb in service_contract-0.3.0 vs lib/service_contract/avro/endpoint.rb in service_contract-0.4.0

- old
+ new

@@ -60,10 +60,10 @@ # seems kinda hacky def member? return false if parameters.empty? first_param_type = parameters.first.type - first_param_type.complex? && first_param_type.name == protocol.main_type + first_param_type.is_a?(RecordType) && first_param_type.name == protocol.main_type end end end -end \ No newline at end of file +end