Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow NameFieldPath configurable #1506

Merged
merged 2 commits into from
Sep 13, 2023

Conversation

weichou1229
Copy link
Member

@weichou1229 weichou1229 commented Sep 6, 2023

BREAKING CHANGE: Allow NameFieldPath configurable by checking whether the NameFieldPathEscape enable.

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

PR Checklist

Please check if your PR fulfills the following requirements:

  • I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
  • I am not introducing a new dependency (add notes below if you are)
  • I have added unit tests for the new feature or bug fix (if not, why?) not impact
  • I have fully tested (add details below) this the new feature or bug fix (if not, why?)
  • I have opened a PR for the related docs change (if not, why?) not impact

Testing Instructions

Related PRs are opened, you can refer to edgexfoundry/edgex-go#4673 (comment) and run services to verify the API.

New Dependency Instructions (If applicable)

@weichou1229 weichou1229 marked this pull request as ready for review September 7, 2023 08:22
@lenny-goodell
Copy link
Member

@weichou1229 , how is this a breaking change? Isn't this working around the previous breaking change?

@weichou1229 weichou1229 changed the title feat!: Allow NameFieldPath configurable feat: Allow NameFieldPath configurable Sep 12, 2023
@weichou1229
Copy link
Member Author

@weichou1229 , how is this a breaking change? Isn't this working around the previous breaking change?

@lenny-intel You're right, this is not a breaking change for SDK, updated the commit message.

@cloudxxx8
Copy link
Member

Allow NameFieldPath configurable by checking whether the NameFieldPathEscape enable.

Signed-off-by: bruce <[email protected]>
- Upgrade go-mod-bootstrap to v3.1.0-dev.34
- Upgrade go-mod-core-contracts to v3.1.0-dev.11

Signed-off-by: bruce <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Merging #1506 (37d7c82) into main (10d83f9) will increase coverage by 0.04%.
The diff coverage is 47.36%.

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

@@            Coverage Diff             @@
##             main    #1506      +/-   ##
==========================================
+ Coverage   46.60%   46.65%   +0.04%     
==========================================
  Files          30       30              
  Lines        2813     2821       +8     
==========================================
+ Hits         1311     1316       +5     
- Misses       1403     1406       +3     
  Partials       99       99              
Files Changed Coverage Δ
internal/controller/messaging/callback.go 0.00% <0.00%> (ø)
internal/controller/messaging/command.go 0.00% <0.00%> (ø)
internal/common/utils.go 81.42% <100.00%> (+0.54%) ⬆️
internal/controller/messaging/validation.go 71.66% <100.00%> (+1.49%) ⬆️

Copy link
Member

@cloudxxx8 cloudxxx8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cloudxxx8 cloudxxx8 merged commit 26e70d1 into edgexfoundry:main Sep 13, 2023
@weichou1229 weichou1229 deleted the name-escape branch September 17, 2023 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants