Closed Bug 1895230 Opened 1 year ago Closed 1 year ago

Object metric type should not serialize null values

Categories

(Data Platform and Tools :: Glean: SDK, defect, P1)

defect

Tracking

(firefox127 fixed)

RESOLVED FIXED
Tracking Status
firefox127 --- fixed

People

(Reporter: janerik, Assigned: janerik)

Details

Attachments

(1 file)

This is handled correctly in glean_parser for Rust, but I failed to backport those to m-c.

This was already done in glean_parser, but not backported here.
Plus this also adds the default for arrays.
The new test covers those edge cases.

Pushed by jrediger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f44b1f72bfa1 Object metric: Correctly skip serialization if empty/none r=chutten

Backed out for causing python failures.

Flags: needinfo?(jrediger)

d'oh! my own mistake of not running at least our tests locally. fixing.

Flags: needinfo?(jrediger)
Pushed by jrediger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a958dab856bd Object metric: Correctly skip serialization if empty/none r=chutten
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: