Skip to content

fix: correct mapping for properties object for identify call - #2283

Merged
krishna2020 merged 5 commits into
developfrom
klaviyo/mapping-fix
Jun 20, 2023
Merged

krishna2020 merged 5 commits into
developfrom
klaviyo/mapping-fix

Conversation

@ujjwal-ab

Copy link
Copy Markdown
Contributor

Description of the change

  • fix incorrect properties mapping
  • add support of make email or phone as the primary identifier, to track call

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

@ujjwal-ab
ujjwal-ab requested review from a team as code owners June 19, 2023 16:22
@ujjwal-ab
ujjwal-ab requested review from mihir-4116 and utsabc June 19, 2023 16:22
@ujjwal-ab ujjwal-ab self-assigned this Jun 19, 2023
@codecov

codecov Bot commented Jun 19, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01 ⚠️

Comparison is base (6810493) 86.27% compared to head (61565e4) 86.27%.

❗ Current head 61565e4 differs from pull request most recent head 9362f5b. Consider uploading reports for the commit 9362f5b to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2283      +/-   ##
===========================================
- Coverage    86.27%   86.27%   -0.01%     
===========================================
  Files          500      500              
  Lines        25694    25691       -3     
  Branches      6345     6337       -8     
===========================================
- Hits         22167    22164       -3     
  Misses        3116     3116              
  Partials       411      411              
Impacted Files Coverage Δ
src/v0/destinations/klaviyo/transform.js 90.60% <100.00%> (+0.06%) ⬆️
src/v0/destinations/klaviyo/util.js 95.00% <100.00%> (+0.26%) ⬆️

... and 1 file with indirect coverage changes

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

Comment thread src/v0/destinations/klaviyo/util.js Resolved
Comment thread src/v0/destinations/klaviyo/util.js Resolved
@krishna2020
krishna2020 merged commit 6d599b1 into develop Jun 20, 2023
@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 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

ujjwal-ab added a commit that referenced this pull request Jun 20, 2023
* fix: correct mapping for properties object for identify call

* feat: enable use of enforce email as primary identifier toggle to track call

* chore: refactor code
ujjwal-ab added a commit that referenced this pull request Jun 20, 2023
* fix: correct mapping for properties object for identify call

* feat: enable use of enforce email as primary identifier toggle to track call

* chore: refactor code
krishna2020 pushed a commit that referenced this pull request Jun 20, 2023
* fix: correct mapping for properties object for identify call

* feat: enable use of enforce email as primary identifier toggle to track call

* chore: refactor code
@devops-github-rudderstack
devops-github-rudderstack deleted the klaviyo/mapping-fix branch September 21, 2023 01:23
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