Use Map instances for UniFFI maps to allow non-string keys.
Categories
(Toolkit :: UniFFI Bindings, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox140 | --- | fixed |
People
(Reporter: bdk, Assigned: adw)
References
Details
(Whiteboard: [disco-][sng])
Attachments
(1 file)
We currently implement maps using plain-old-javascript-objects. This means that all keys must be strings. UniFFI now supports non-string keys, so we should switch to using the Map class which allows for non-strings.
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•9 months ago
|
Updated•9 months ago
|
| Assignee | ||
Comment 1•6 months ago
|
||
I hit this in a PR I'm working on so I'd like to take a shot at it.
| Assignee | ||
Comment 2•6 months ago
|
||
Updated•6 months ago
|
| Reporter | ||
Comment 3•6 months ago
|
||
Sounds good, have you started on it? I'm trying to land a large refactor of the binding generation, which will make this work easier but it will be pretty disruptive if it lands while you're in the middle of working on this. It's very close to landing, I just need to rebase and fix what's hopefully the last small bug. I'm thinking it'll land today -- although I said that yesterday as well.
Can you base your work on top of that or wait until it lands?
| Reporter | ||
Comment 4•6 months ago
|
||
Oh, you're quick. I see the phabricator patch already. No problem, I'll rebase on top of yours.
| Assignee | ||
Updated•6 months ago
|
Comment 6•6 months ago
|
||
| bugherder | ||
Updated•6 months ago
|
Description
•