47degrees / case-classy

configuration with less hassle
http://47deg.github.io/case-classy/
Apache License 2.0
68 stars 8 forks source link

Simplify DecodeError ADT #21

Closed andyscott closed 7 years ago

andyscott commented 7 years ago

This simplifies the DecodeError ADT by removing path from several of the leaf errors in favor of just using the AtPath error to describe paths.

This should make it easier to write decoders between primitive types-- such as Decoder[String, FiniteDuration] and then use those automatically across modules.

codecov-io commented 7 years ago

Current coverage is 55.48% (diff: 25.92%)

Merging #21 into feature/0.3.0 will decrease coverage by 5.28%

@@           feature/0.3.0        #21   diff @@
===============================================
  Files                 14         14          
  Lines                260        301    +41   
  Methods              187        195     +8   
  Messages               0          0          
  Branches               1          1          
===============================================
+ Hits                 158        167     +9   
- Misses               102        134    +32   
  Partials               0          0          

Powered by Codecov. Last update a17e253...c90ea64