Skip to content

Remove default value for the addAccountExtraInfo call#2759

Merged
0xnm merged 1 commit into
feature/v3from
nogorodnikov/remove-default-value-for-addAccountExtraInfo-call
Jun 25, 2025
Merged

Remove default value for the addAccountExtraInfo call#2759
0xnm merged 1 commit into
feature/v3from
nogorodnikov/remove-default-value-for-addAccountExtraInfo-call

Conversation

@0xnm

@0xnm 0xnm commented Jun 24, 2025

Copy link
Copy Markdown
Member

What does this PR do?

This PR removes default value for the addAccountExtraInfo call, because this method is not supposed to be called with explicit arguments. This change also aligns with iOS SDK API.

In addition, docs for the account-related APIs are updated.

@satween This is not a breaking change, because I don't think there is a use-case to call addAccountExtraInfo without arguments, but still it is better to note it for the migration doc.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@0xnm
0xnm requested review from a team as code owners June 24, 2025 16:16
@codecov-commenter

codecov-commenter commented Jun 24, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.53%. Comparing base (b820571) to head (809abcb).
⚠️ Report is 333 commits behind head on feature/v3.

Additional details and impacted files
@@             Coverage Diff             @@
##           feature/v3    #2759   +/-   ##
===========================================
  Coverage       67.53%   67.53%           
===========================================
  Files             818      818           
  Lines           30640    30638    -2     
  Branches         5179     5179           
===========================================
  Hits            20691    20691           
- Misses           8545     8551    +6     
+ Partials         1404     1396    -8     
Files with missing lines Coverage Δ
...ore/src/main/kotlin/com/datadog/android/Datadog.kt 74.44% <ø> (+0.82%) ⬆️
...src/main/kotlin/com/datadog/android/api/SdkCore.kt 20.00% <ø> (+3.33%) ⬆️

... and 31 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@0xnm
0xnm merged commit ee3bc00 into feature/v3 Jun 25, 2025
26 checks passed
@0xnm
0xnm deleted the nogorodnikov/remove-default-value-for-addAccountExtraInfo-call branch June 25, 2025 09:30
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