You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
This came up briefly in plenary. Maps are simply not ergonomic enough to be the primary return type for this API - like it or not, object are the way people pass around data, and property key conversion is a non-issue for most use cases (and is pretty commonly understood, imo)
#3 covers adding a secondary way to get a Map out, for those that want it.
With a Map, grouping don't have to be on key compatible types and avoids coercions:
Using an object knowledge of key coercion might be a bit odd.
Problems with Map are usability on reading data out of the Map not being simple property access though but you can always
Object.fromEntries(map)
.The text was updated successfully, but these errors were encountered: