-
Notifications
You must be signed in to change notification settings - Fork 219
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
Fix #1363 Wrong element type for timestamp in RichTextSectionElement.Date #1364
Conversation
Thanks for the contribution! Before we can merge this, we need @jed204 to sign the Salesforce Inc. Contributor License Agreement. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution 🙏
Please sign the CLA
@@ -54,7 +54,7 @@ public static class Link implements RichTextElement { | |||
public static class Date implements RichTextElement { | |||
public static final String TYPE = "date"; | |||
private final String type = TYPE; | |||
private String timestamp; | |||
private Long timestamp; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch 💯 I think this may be an integer
on the backend, but this project uses Long
for other timestamp values
I signed it but there was an error when I submitted - when I try to sign it again it says I signed it already. Any ideas? |
I see, don't worry about the CLA for now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests need to pass 🙏
Roger. I updated the mock responses. They are passing locally now. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1364 +/- ##
=========================================
Coverage 74.77% 74.77%
Complexity 4270 4270
=========================================
Files 457 457
Lines 13278 13278
Branches 1369 1369
=========================================
Hits 9929 9929
Misses 2548 2548
Partials 801 801 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for sending this PR!
This pull request resolves #1363
Category (place an
x
in each of the[ ]
)Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.