RUM-8672 Update UserInfo API to make id mandatory.#2195
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 357 Passed, 3459 Skipped, 37.7s Total duration (1m 57.82s time saved) |
ccb40c7 to
60b18f9
Compare
|
/merge |
|
View all feedbacks in Devflow UI.
This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals.
The median merge time in
|
|
What's the motivation behind this change? We currently set |
|
Thanks for tuning in, @shagedorn! The motivation behind this change is purely internal, aimed at aligning our platforms with the introduction of our new product, Product Analytics. Your logout scenario makes perfect sense, and it raises a valid point - perhaps we need an additional API to clear the entire user object. For now, you can continue using the deprecated function, We’d really appreciate it if you could reach out through official support and share your exact use cases. This will help us explore whether there’s a better way to address this change while minimising any disruption on your end. |
|
Thanks for your response! I described our use case in ticket nr. 2081021. |
|
Thanks! I'll look into it. Also, correction - stopping the session won't clear the user automatically. We will likely add an API to clear the user. |
|
@maciejburda we're facing a very similar issue after updating to the latest SDK release. What's the current guidance with handling the logged out state for an app when no user ID is available? |
|
Hey @siddarthkalra and @shagedorn We'll be adding Is it something that will help handling your case? |
|
@maciejburda thanks for following up! I believe this would help us indeed. We have some properties we set via the |
What and why?
Makes
idparameter ofsetUserInfo()mandatory. Old signature is kept with deprecation warning.Review checklist
make api-surface)