Skip to content

Conversation

@johanavril
Copy link
Contributor

@johanavril johanavril commented Nov 6, 2019

Add the missing property for configuring message bubble size for
flex message
reference

Add the missing property for configuring message bubble size for
flex message
@codecov-io
Copy link

codecov-io commented Nov 6, 2019

Codecov Report

Merging #178 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #178      +/-   ##
==========================================
+ Coverage   73.38%   73.41%   +0.02%     
==========================================
  Files          24       24              
  Lines        1901     1903       +2     
==========================================
+ Hits         1395     1397       +2     
  Misses        423      423              
  Partials       83       83
Impacted Files Coverage Δ
linebot/flex.go 43.37% <100%> (+0.69%) ⬆️

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 1913b75...1543c3b. Read the comment docs.

Copy link
Contributor

@oklahomer oklahomer left a comment

Choose a reason for hiding this comment

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

Thank you for adding the currently missing size field. I confirmed the document and also the behavior on actual integration:
image

The existing flex_test.go suggests that a size field is omitted when none is set. I would appreciate it if one more test case is added so that a payload with size value can actually be serialized.

Thank you.

test the unmarshall to work when bubble size property is present
@johanavril johanavril requested a review from oklahomer November 16, 2019 06:40
Copy link
Contributor

@oklahomer oklahomer left a comment

Choose a reason for hiding this comment

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

Left a minor comment for improvement but others look good!

applying the same rule for the multi line JSON string for all
of the test cases
@johanavril johanavril requested a review from oklahomer November 17, 2019 03:16
Copy link
Contributor

@oklahomer oklahomer left a comment

Choose a reason for hiding this comment

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

Thank you very much for your work and cooperation. LGTM 👍

@oklahomer oklahomer merged commit a90b03b into line:master Nov 17, 2019
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.

3 participants