glean-core does not provide a way to unset debug view tags at runtime
Categories
(Data Platform and Tools :: Glean: SDK, defect, P4)
Tracking
(Not tracked)
People
(Reporter: brizental, Unassigned)
Details
Initially I thought you could unset them by doing glean.set_debug_view_tag("") but that will be ignored since it is an invalid tag.
I am not extending this issue to source tags because there is not a way to set source tags at runtime, so there probably is no need to unset them at runtime.
Not that there is any need to unset debug view tags at runtime, given that this feature has been out for a while with no complaints AFAIK.
Anyways, I'd like to know at least if this is the intended functionality so I can implement it accordingly in Glean.js. I am working on this right now and I added an unsetDebugViewTag API, because it seemed reasonable, but after seeing that glean-core doesn't have it I thought it would be better to ask.
| Reporter | ||
Updated•5 years ago
|
| Reporter | ||
Comment 1•5 years ago
|
||
Oops, oversight alert, glean-core does provide a way to set source tags at runtime and it shares this same issue.
| Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
| Reporter | ||
Comment 2•5 years ago
|
||
See discussion at: https://github.com/mozilla/glean/pull/1647
Description
•