cloudendpoints / endpoints-java

A Java framework for building RESTful APIs on Google App Engine
Apache License 2.0
32 stars 35 forks source link

allow null error fields #130

Closed tangiel closed 6 years ago

tangiel commented 6 years ago

Currently a NullPointerException is thrown due to disallowed null values in ImmutableMap. This change changes error construction to use Jackson data to allow for null values.

codecov-io commented 6 years ago

Codecov Report

Merging #130 into master will increase coverage by 0.04%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #130      +/-   ##
============================================
+ Coverage     79.75%   79.79%   +0.04%     
  Complexity     1652     1652              
============================================
  Files           156      156              
  Lines          5536     5547      +11     
  Branches        710      710              
============================================
+ Hits           4415     4426      +11     
  Misses          843      843              
  Partials        278      278
Impacted Files Coverage Δ Complexity Δ
.../server/spi/response/RestResponseResultWriter.java 100% <100%> (ø) 5 <1> (ø) :arrow_down:

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 4521d4e...fe8da10. Read the comment docs.