Open Bug 1768833 Opened 3 years ago Updated 2 years ago

Re-implement traits for internal types again

Categories

(Data Platform and Tools :: Glean: SDK, enhancement, P4)

enhancement

Tracking

(Not tracked)

People

(Reporter: janerik, Unassigned)

Details

We expose traits for consumers to implement if they wrap metric types, to ensure they follow the same API.

However with the move to UniFFI we stopped implementing the traits for our own types.
UDL requires us to use a specific API (no Into<Option<&str>> easily possible).

The FOG codebase uses some macros to pass around data, so we need to keep everything in sync, so switching the API needs to be done all at once.
For now we defer this work a bit.

No longer blocks: 1731069
Assignee: nobody → jrediger
Priority: P3 → P2
Assignee: jrediger → nobody
Type: defect → enhancement
Priority: P2 → P4
You need to log in before you can comment on or make changes to this bug.