Skip to content
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

ISSUE-950 | Add method to set extra properties on the UserInfo object #952

Merged
merged 3 commits into from Jun 21, 2022
Merged

ISSUE-950 | Add method to set extra properties on the UserInfo object #952

merged 3 commits into from Jun 21, 2022

Conversation

ghost
Copy link

@ghost ghost commented Jun 17, 2022

What does this PR do?

Adds a method to set the additional properties on a user

issue raised here: #950

Motivation

Throughout our application, we have properties that we want to set at a point where it'd be inconvenient to also have to grab the user's name / email / id. being able to set properties on the fly for a user is a convenient method that exists in multiple other logging types of libraries / SDKs

Additional Notes

I wasn't able to get the sample project running on my M1 device (issue opened #951) - but I did add a call site to it. Please let me know if there is more documentation / usage that should be added!

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)

@ghost ghost self-requested a review as a code owner June 17, 2022 16:14
@ghost ghost mentioned this pull request Jun 17, 2022
@xgouchet xgouchet added the size-small This PR is small sized label Jun 17, 2022
@xgouchet
Copy link
Member

Thanks a lot for this PR, I added a few comments to ensure consistency with our guidelines and existing APIs

@ghost
Copy link
Author

ghost commented Jun 20, 2022

feedback should be addressed!

@ghost ghost requested a review from xgouchet June 20, 2022 12:50
Copy link
Member

@xgouchet xgouchet left a comment

Choose a reason for hiding this comment

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

Just a few nit picks regarding property based testing. Also can you make sure that the static analysis pass locally:

./gradlew clean detektAll ktlintCheckAll lintCheckAll

@ghost
Copy link
Author

ghost commented Jun 21, 2022

Verified static analysis passed locally 👍 I did run into this issue though (https://issuetracker.google.com/issues/206099937) - I upgraded the AGP version to 7.2.1 locally and that worked for me (and reverted before committing)

Other feedback should be addressed as well

@ghost ghost requested a review from xgouchet June 21, 2022 12:01
@xgouchet xgouchet merged commit 276e4d7 into DataDog:develop Jun 21, 2022
@ghost
Copy link
Author

ghost commented Jun 21, 2022

@xgouchet ty for merging 🙏 are you able to share when we might see this in a release for the SDK?

0xnm added a commit that referenced this pull request Jun 22, 2022
@0xnm 0xnm mentioned this pull request Jun 22, 2022
3 tasks
@xgouchet xgouchet added this to the 1.14.0 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size-small This PR is small sized
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant