Open bml1g12 opened 2 weeks ago
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-issues for triage ⏲️
@bml1g12 your request makes sense to me! I can see why you would want to see null
values that you've explicitly set in the context. I'll see what the team thinks since this should be a simple change.
Problem Statement
When I log the following context: {"myContext":
null
} but the context then gets omitted entirely. This makes senss to me forundefined
values, but doesn't make sense to me for values explicity defined asnull
. I get the expected behaviour when I nest it in an object like {"myContext": {"nestedContext": null}} - this context does not get omitted.Talking to Sentry support they said:
Solution Brainstorm
Either add clear documentation that parents with
null
values are omitted, or even better, do not omit theseProduct Area
Issues