FundingCircle / jackdaw

A Clojure library for the Apache Kafka distributed streaming platform.
https://fundingcircle.github.io/jackdaw/
BSD 3-Clause "New" or "Revised" License
369 stars 80 forks source link

Fix avro deserialisation for union of enum types #227

Closed DaveWM closed 4 years ago

DaveWM commented 4 years ago

Fixes a bug in the Avro deserialisation, which causes it to fail when deserialising a union type composed of enums.

Checklist

codecov[bot] commented 4 years ago

Codecov Report

Merging #227 into master will increase coverage by 0.49%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #227      +/-   ##
=========================================
+ Coverage   79.71%   80.2%   +0.49%     
=========================================
  Files          42      42              
  Lines        2627    2627              
  Branches      152     151       -1     
=========================================
+ Hits         2094    2107      +13     
+ Misses        381     369      -12     
+ Partials      152     151       -1
Impacted Files Coverage Δ
src/jackdaw/serdes/avro.clj 88.95% <100%> (+0.84%) :arrow_up:
src/jackdaw/serdes/edn2.clj 90.9% <0%> (+45.45%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1f4caaf...fb5c99a. Read the comment docs.