Skip to content

feat: setting empty string as default if app event params are not present - #2742

Merged
sandeepdsvs merged 1 commit into
release/v1.46.0from
fb_app_events_defaults
Oct 18, 2023
Merged

sandeepdsvs merged 1 commit into
release/v1.46.0from
fb_app_events_defaults

Conversation

@sandeepdsvs

@sandeepdsvs sandeepdsvs commented Oct 18, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

appData.extinfo is an array of strings. Setting empty string "", if at any index in appData.extinfo, value is undefined as it is not sent in the event. These values are not required but FB is expecting them as empty strings.
Note: appData.extinfo is being populated from config mapping. metadata: { defaultValue: "" } is not working, once setting empty string as default is supported, this can be removed

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

@sandeepdsvs
sandeepdsvs requested a review from a team as a code owner October 18, 2023 07:32
@sandeepdsvs
sandeepdsvs requested review from anantjain45823 and sanpj2292 and removed request for a team October 18, 2023 07:32
@codecov

codecov Bot commented Oct 18, 2023

Copy link
Copy Markdown

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (7461199) 87.28% compared to head (7ee3b0c) 87.28%.

Additional details and impacted files
@@               Coverage Diff                @@
##           release/v1.46.0    #2742   +/-   ##
================================================
  Coverage            87.28%   87.28%           
================================================
  Files                  646      646           
  Lines                28574    28574           
  Branches              6785     6785           
================================================
  Hits                 24942    24942           
  Misses                3303     3303           
  Partials               329      329           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@sandeepdsvs
sandeepdsvs merged commit 17cd1f8 into release/v1.46.0 Oct 18, 2023
@devops-github-rudderstack
devops-github-rudderstack deleted the fb_app_events_defaults branch January 19, 2024 01:27
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.

2 participants