edgexfoundry / go-mod-core-contracts

Owner: Core/Support WG
Apache License 2.0
27 stars 67 forks source link

feat: Add new validations and error type #946

Closed jinlinGuan closed 2 weeks ago

jinlinGuan commented 2 weeks ago

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/go-mod-core-contracts/blob/main/.github/Contributing.md

PR Checklist

Please check if your PR fulfills the following requirements:

Testing Instructions

New Dependency Instructions (If applicable)

codecov-commenter commented 2 weeks ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 8.10811% with 34 lines in your changes missing coverage. Please review.

Project coverage is 44.27%. Comparing base (1189fa4) to head (4336af0).

Files with missing lines Patch % Lines
common/validator.go 9.09% 30 Missing :warning:
errors/types.go 0.00% 4 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #946 +/- ## ========================================== - Coverage 44.48% 44.27% -0.21% ========================================== Files 113 113 Lines 6465 6502 +37 ========================================== + Hits 2876 2879 +3 - Misses 3351 3385 +34 Partials 238 238 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.