Skip to content

fix(intercom): add validation on customAttributes - #2364

Merged
ItsSudip merged 5 commits into
developfrom
fix.intercom
Jul 17, 2023
Merged

ItsSudip merged 5 commits into
developfrom
fix.intercom

Conversation

@ItsSudip

Copy link
Copy Markdown
Member

Description of the change

Custom attributes support string, bool and int as values, so added a updation of other values to string.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@ItsSudip
ItsSudip requested review from a team as code owners July 12, 2023 12:04
utsabc
utsabc previously approved these changes Jul 12, 2023
@codecov

codecov Bot commented Jul 12, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (5a24060) 87.40% compared to head (f3e81a3) 87.40%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2364   +/-   ##
========================================
  Coverage    87.40%   87.40%           
========================================
  Files          489      489           
  Lines        25508    25510    +2     
  Branches      6317     6318    +1     
========================================
+ Hits         22294    22296    +2     
  Misses        2854     2854           
  Partials       360      360           
Impacted Files Coverage Δ
src/v0/destinations/intercom/transform.js 96.40% <100.00%> (+0.05%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ItsSudip
ItsSudip requested a review from utsabc July 13, 2023 07:24
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@yashasvibajpai yashasvibajpai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As mentioned here, is it possible if we pass NULL, then that value gets reset for that user?

// non blocking

@ItsSudip
ItsSudip merged commit ddeae85 into develop Jul 17, 2023
@ItsSudip

Copy link
Copy Markdown
Member Author

As mentioned here, is it possible if we pass NULL, then that value gets reset for that user?

// non blocking

Need to verify that

@ItsSudip
ItsSudip deleted the fix.intercom branch July 24, 2023 10:57
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