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

getFieldValue() should return fieldValue without transforming it into a String #720

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

brenuart
Copy link
Collaborator

@brenuart brenuart commented Dec 20, 2021

ObjectAppendingMarker#getFieldValue() should ideally return the value of the fieldValue property without transformation. This method is intended to be used by SingleFieldAppendingMarker#selfToString() that already takes care of converting the value into a String.

closes #719

…rming it into a String

`ObjectAppendingMarker#getFieldValue()` should ideally return the value of the `fieldValue` property without transformation. This method is intended to be used by `SingleFieldAppendingMarker#tselfToString()` that already takes care of converting the value into a String.

closes #719
@brenuart brenuart added this to the 7.1 milestone Dec 20, 2021
@codecov
Copy link

codecov bot commented Dec 20, 2021

Codecov Report

Merging #720 (0fc789f) into main (6c92cb4) will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #720      +/-   ##
============================================
+ Coverage     68.98%   69.02%   +0.04%     
  Complexity     1192     1192              
============================================
  Files           160      160              
  Lines          4623     4623              
  Branches        458      458              
============================================
+ Hits           3189     3191       +2     
+ Misses         1186     1185       -1     
+ Partials        248      247       -1     
Impacted Files Coverage Δ
...ogstash/logback/marker/RawJsonAppendingMarker.java 68.18% <ø> (ø)
...ash/logback/marker/SingleFieldAppendingMarker.java 87.50% <ø> (ø)
...logstash/logback/marker/ObjectAppendingMarker.java 86.36% <100.00%> (ø)
...ck/appender/AbstractLogstashTcpSocketAppender.java 69.74% <0.00%> (+0.51%) ⬆️

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 6c92cb4...0fc789f. Read the comment docs.

Copy link
Collaborator

@philsttr philsttr left a comment

Choose a reason for hiding this comment

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

👍

Technically this is not binary compatible, but that seems ok since we're changing the implementation.

@brenuart brenuart merged commit 1e60f21 into main Jan 5, 2022
@brenuart brenuart deleted the gh719-ObjectAppendingMarker-getFieldValue branch January 5, 2022 12:19
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.

ObjectAppendingMarker in v7.0+ has no means to access the fieldValue as its object type
2 participants