Closed rbino closed 4 years ago
Merging #34 into release-0.11 will decrease coverage by
0.32%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## release-0.11 #34 +/- ##
================================================
- Coverage 76.00% 75.67% -0.33%
================================================
Files 8 8
Lines 150 148 -2
================================================
- Hits 114 112 -2
Misses 36 36
Impacted Files | Coverage Δ | |
---|---|---|
lib/astarte_vmq_plugin/rpc/handler.ex | 50.00% <ø> (-3.34%) |
: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 52d9be8...276d5d9. Read the comment docs.
With the old protobufs, the default value for not-set payload for nil, which was an invalid one. When converting to Protobuf 3 with 02b97b8999e28aabb8b47934fa6c11071897ccd4 the default value changed from nil to an empty string, but an empty string is effectively a valid payload (e.g. for an unset message), so we have to remove the clause marking the value as invalid.
Fixes https://github.com/astarte-platform/astarte/issues/460
Signed-off-by: Riccardo Binetti riccardo.binetti@ispirata.com